Attempt to mounth node20
This commit is contained in:
parent
487408dcff
commit
70035eea59
|
@ -20,26 +20,32 @@ on:
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
env:
|
|
||||||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
container:
|
container:
|
||||||
image: dcvz/n64recomp:ubuntu-18.04
|
image: dcvz/n64recomp:ubuntu-18.04
|
||||||
|
volumes:
|
||||||
|
# create a volume that we'll use as the new source for the node binary
|
||||||
|
# https://github.com/actions/checkout/issues/1809
|
||||||
|
- /nodeoverride:/nodeoverride:rw,rshared
|
||||||
|
- /nodeoverride:/__e/node20:ro,rshared
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
type: [ Debug, Release ]
|
type: [ Debug, Release ]
|
||||||
os: [ ubuntu-22.04 ]
|
os: [ ubuntu-22.04 ]
|
||||||
name: ubuntu-18.04 (x64, ${{ matrix.type }})
|
name: ubuntu-18.04 (x64, ${{ matrix.type }})
|
||||||
steps:
|
steps:
|
||||||
|
- name: Copy the Node20 binary
|
||||||
|
run: |
|
||||||
|
cp -r /node20217/* /nodeoverride/
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.11
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
with:
|
with:
|
||||||
key: ${{ matrix.os }}-z64re-ccache-${{ matrix.type }}-x64-${{ inputs.N64RECOMP_COMMIT }}
|
key: ${{ matrix.os }}-z64re-ccache-${{ matrix.type }}-x64-${{ inputs.N64RECOMP_COMMIT }}
|
||||||
- name: Prepare Build
|
- name: Prepare Build
|
||||||
|
|
Loading…
Reference in New Issue