Initial workflow for the ARM64 runner (#25)
Introduces a workflow for an ARM64 self-hosted runner. original commit: bd5ae74834108079a485c5f3e78a7eb73fd4bcd1
This commit is contained in:
parent
b8c1ce63c6
commit
86c56fbc46
38
.github/workflows/build.yml
vendored
38
.github/workflows/build.yml
vendored
|
@ -44,3 +44,41 @@ jobs:
|
|||
run: .github/scripts/build.sh
|
||||
- name: Test Chez
|
||||
run: .github/scripts/test.sh
|
||||
|
||||
build-arm64:
|
||||
runs-on: [self-hosted, ARM64, Linux]
|
||||
container:
|
||||
image: racket/racket-ci:latest
|
||||
options: --init
|
||||
|
||||
env:
|
||||
MACH: tarm64le
|
||||
|
||||
steps:
|
||||
- name: Create Racket Temp Directory
|
||||
run: mkdir /tmp/racket
|
||||
- name: Build Racket CGC
|
||||
working-directory: /tmp/racket
|
||||
run: |
|
||||
git clone --depth=1 https://github.com/racket/racket
|
||||
cd racket/racket/src
|
||||
./configure --prefix=/usr --enable-cgcdefault --disable-docs --disable-cify
|
||||
export cpus=$(nproc)
|
||||
make -l $cpus -j $((cpus+1))
|
||||
make -j $((cpus+1)) install
|
||||
cd
|
||||
rm -Rf /tmp/racket
|
||||
raco pkg install -i --auto --skip-installed cs-bootstrap
|
||||
- name: Checkout ChezScheme
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
fetch-depth: 100
|
||||
- name: Build bootfiles
|
||||
run: racket -l cs-bootstrap
|
||||
- name: Build Chez
|
||||
run: |
|
||||
./configure -m=$MACH
|
||||
make -j$(($(nproc)+1)) -l$(nproc)
|
||||
- name: Test Chez
|
||||
run: .github/scripts/test.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user