From 5a3ceab63dc4ba3fc1bb894eb2b230eb65ab7a58 Mon Sep 17 00:00:00 2001 From: Scott Brust Date: Tue, 21 May 2024 13:40:25 -0700 Subject: [PATCH] build additional OS versions --- .github/workflows/test-build.yml | 46 ++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 12ee99144..b69c65a53 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -9,7 +9,7 @@ on: jobs: - build-mac: + build-mac-14-arm: runs-on: macos-latest steps: - name: Check out repository code @@ -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 @@ -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: