Skip to content

Commit

Permalink
build additional OS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-brust committed May 21, 2024
1 parent bfca246 commit 5a3ceab
Showing 1 changed file with 44 additions and 2 deletions.
46 changes: 44 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:

build-mac:
build-mac-14-arm:
runs-on: macos-latest
steps:
- name: Check out repository code
Expand All @@ -31,7 +31,29 @@ jobs:
path: ./openocd
if-no-files-found: error

build-linux:
build-mac-12:
runs-on: macos-12
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Dependencies
run: |
brew update
brew install automake
brew install texinfo
brew install libtool
export PATH=/usr/local/opt/texinfo/bin:$PATH
- name: build-openocd
run: |
./build-openocd.sh
- name: Publish OpenOCD packaged for mac
uses: actions/upload-artifact@v4
with:
name: artifact-mac-release
path: ./openocd
if-no-files-found: error

build-linux-22-04:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -51,6 +73,26 @@ jobs:
path: ./openocd
if-no-files-found: error

build-linux-20-04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install libudev-dev
sudo apt-get install libtool
sudo apt-get install autoconf
- name: build-openocd
run: |
./build-openocd.sh
- name: Publish OpenOCD packaged for linux
uses: actions/upload-artifact@v4
with:
name: artifact-linux-release
path: ./openocd
if-no-files-found: error

build-windows:
runs-on: windows-latest
defaults:
Expand Down

0 comments on commit 5a3ceab

Please sign in to comment.