Skip to content

Commit

Permalink
Merge pull request #61 from Contrast-Security-Inc/NODE-3519-retire-pr…
Browse files Browse the repository at this point in the history
…ebuildify-cross

remove matrix
  • Loading branch information
bmacnaughton authored Jul 20, 2024
2 parents 94f12e8 + c3e7150 commit 7f421df
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/release-no-prebuildify-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ permissions:

jobs:
build-linux:
strategy:
matrix:
image:
- linux-arm64
- centos7
- alpine
name: Build ${{ matrix.image }}
# strategy:
# matrix:
# image:
# - linux-arm64
# - centos7
# - alpine
name: Build linux versions
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
Expand All @@ -37,10 +37,16 @@ jobs:
# new versions of python don't include distutils. setuptools provides it.
# - name: Install setuptools
# run: pip install setuptools
- name: Install
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build
run: docker run --rm -v ${PWD}:/repo -w /repo ghcr.io/bmacnaughton/${{ matrix.image }}
# build each image inline so the matrix doesn't checkout, install, install each time.
- name: Build alpine
run: docker run --rm -v ${{ github.workspace }}:/repo -w /repo ghcr.io/bmacnaughton/alpine
- name: Build centos7
run: docker run --rm -v ${{ github.workspace }}:/repo -w /repo ghcr.io/bmacnaughton/centos7
- name: Build linux-arm64
run: docker run --rm -v ${{ github.workspace }}:/repo -w /repo ghcr.io/bmacnaughton/linux-arm64
# now upload what was built
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 7f421df

Please sign in to comment.