Skip to content

Commit

Permalink
chore: install cmake from buster-backports
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 8, 2022
1 parent d72847e commit 439fc6e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ jobs:
arch: arm64
is-native: false
docker-arch: linux/arm64
docker-image: node:14-buster
docker-image: node:16-buster
- os: ubuntu-latest
arch: arm
is-native: false
docker-arch: linux/arm/v7
docker-image: node:14-buster
docker-image: node:16-buster
# linux-musl
- os: ubuntu-latest
arch: x64
is-native: false
docker-arch: linux/amd64
docker-image: node:14-alpine
docker-image: node:16-alpine
libc: musl

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Checkout submodules
shell: bash
run: |
Expand All @@ -82,10 +82,10 @@ jobs:
run: |
brew install yasm
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x

- name: rebuild
if: ${{ !matrix.docker-arch }}
Expand Down Expand Up @@ -116,8 +116,9 @@ jobs:
run: |
if command -v apt-get &> /dev/null
then
apt-get update
apt-get install -y cmake yasm
echo "deb http://deb.debian.org/debian buster-backports main contrib non-free" | tee -a /etc/apt/sources.list.d/backports.list
apt update
apt install -y cmake/buster-backports yasm
elif command -v apk &> /dev/null
then
apk update
Expand Down

0 comments on commit 439fc6e

Please sign in to comment.