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 22, 2024
1 parent a8c1977 commit c9faf9b
Showing 1 changed file with 45 additions and 4 deletions.
49 changes: 45 additions & 4 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 @@ -27,11 +27,32 @@ jobs:
- name: Publish OpenOCD packaged for mac
uses: actions/upload-artifact@v4
with:
name: artifact-mac-release
name: artifact-mac-14-arm-release
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
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-12-release
path: ./openocd
if-no-files-found: error

build-linux-22-04:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -47,7 +68,27 @@ jobs:
- name: Publish OpenOCD packaged for linux
uses: actions/upload-artifact@v4
with:
name: artifact-linux-release
name: artifact-linux-22-04-release
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-20-04-release
path: ./openocd
if-no-files-found: error

Expand Down

0 comments on commit c9faf9b

Please sign in to comment.