Skip to content

Commit

Permalink
Update CI actions
Browse files Browse the repository at this point in the history
Update CI actions to the latest version and use a proper
Github Runner for macOS workflows, which come preinstalled
with everything needed except automake
  • Loading branch information
TheRealKeto committed Aug 18, 2024
1 parent 798f55b commit 3aae4f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Restore or cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/sccache
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
${TRIPLE}-strip ldid${EXT}
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ldid_${{ env.OS }}_${{ env.ARCH }}
path: ldid${{ env.EXT }}
Expand All @@ -178,7 +178,7 @@ jobs:

build-macos:
name: Build
runs-on: macos-11
runs-on: macos-12
strategy:
matrix:
include:
Expand All @@ -194,10 +194,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Restore or cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/Library/Caches/Mozilla.sccache
Expand All @@ -223,7 +223,7 @@ jobs:
- name: Setup toolchain
run: |
brew install libtool autoconf automake
brew install automake
wget -nc -P ${DOWNLOAD_PATH} https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-apple-darwin.tar.gz
tar xf ${DOWNLOAD_PATH}/sccache-v${SCCACHE_VERSION}-x86_64-apple-darwin.tar.gz -C ${HOME}
chmod +x ${HOME}/sccache-v${SCCACHE_VERSION}-x86_64-apple-darwin/sccache
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
strip ldid
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ldid_${{ matrix.os }}_${{ matrix.arch }}
path: ldid
Expand Down

0 comments on commit 3aae4f6

Please sign in to comment.