Move from Travis to GitHub Actions
This consolidates use of GitHub Actions, since we are using it as well with racket/racket. original commit: c3bf252c76ef594dfccf332def30f3d9c733282d
This commit is contained in:
parent
ac6467fd8c
commit
65146afcf5
2
.travis/test.sh → .github/scripts/test.sh
vendored
2
.travis/test.sh → .github/scripts/test.sh
vendored
|
@ -14,7 +14,7 @@ runmats o=3 cp0=t eval=interpret
|
||||||
|
|
||||||
if [ -f ${TARGET_MACHINE}/mats/summary ]; then
|
if [ -f ${TARGET_MACHINE}/mats/summary ]; then
|
||||||
cat ${TARGET_MACHINE}/mats/summary
|
cat ${TARGET_MACHINE}/mats/summary
|
||||||
diff -q .travis/summary ${TARGET_MACHINE}/mats/summary
|
diff -q .github/scripts/summary ${TARGET_MACHINE}/mats/summary
|
||||||
exit $?
|
exit $?
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
46
.github/workflows/build.yml
vendored
Normal file
46
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
name: Build CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-linux:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
container: ubuntu:20.04
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
mach: [i3le, ti3le, i6le, ta6le]
|
||||||
|
|
||||||
|
env:
|
||||||
|
TARGET_MACHINE: ${{ matrix.mach }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build bootfiles
|
||||||
|
run: .github/scripts/dobootfile.sh
|
||||||
|
- name: Build Chez
|
||||||
|
run: .github/scripts/build.sh
|
||||||
|
- name: Test Chez
|
||||||
|
run: .github/scripts/test.sh
|
||||||
|
|
||||||
|
build-macos:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
mach: [i3le, ti3le, i6le, ta6le]
|
||||||
|
|
||||||
|
env:
|
||||||
|
TARGET_MACHINE: ${{ matrix.mach }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build bootfiles
|
||||||
|
run: .github/scripts/dobootfile.sh
|
||||||
|
- name: Build Chez
|
||||||
|
run: .github/scripts/build.sh
|
||||||
|
- name: Test Chez
|
||||||
|
run: .github/scripts/test.sh
|
66
.travis.yml
66
.travis.yml
|
@ -1,66 +0,0 @@
|
||||||
language: c
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
# macOS
|
|
||||||
#- env: TARGET_MACHINE=i3osx
|
|
||||||
# os: osx
|
|
||||||
#- env: TARGET_MACHINE=ti3osx
|
|
||||||
# os: osx
|
|
||||||
#- env: TARGET_MACHINE=a6osx
|
|
||||||
# os: osx
|
|
||||||
#- env: TARGET_MACHINE=ta6osx
|
|
||||||
# os: osx
|
|
||||||
|
|
||||||
# Linux
|
|
||||||
- env: TARGET_MACHINE=i3le
|
|
||||||
os: linux
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- gcc-multilib
|
|
||||||
- lib32ncurses5-dev
|
|
||||||
- libx32ncurses5-dev
|
|
||||||
- uuid-dev:i386
|
|
||||||
- libssl-dev:i386
|
|
||||||
- env: TARGET_MACHINE=ti3le
|
|
||||||
os: linux
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- gcc-multilib
|
|
||||||
- lib32ncurses5-dev
|
|
||||||
- libx32ncurses5-dev
|
|
||||||
- uuid-dev:i386
|
|
||||||
- libssl-dev:i386
|
|
||||||
- env: TARGET_MACHINE=a6le
|
|
||||||
os: linux
|
|
||||||
- env: TARGET_MACHINE=ta6le
|
|
||||||
os: linux
|
|
||||||
|
|
||||||
# Windows
|
|
||||||
#- env: TARGET_MACHINE=i3nt
|
|
||||||
# os: windows
|
|
||||||
# before_script:
|
|
||||||
# - git config core.autocrlf false; rm .git/index; git reset --hard
|
|
||||||
# - choco install make -y
|
|
||||||
#- env: TARGET_MACHINE=ti3nt
|
|
||||||
# os: windows
|
|
||||||
# before_script:
|
|
||||||
# - git config core.autocrlf false; rm .git/index; git reset --hard
|
|
||||||
# - choco install make -y
|
|
||||||
#- env: TARGET_MACHINE=a6nt
|
|
||||||
# os: windows
|
|
||||||
# before_script:
|
|
||||||
# - git config core.autocrlf false; rm .git/index; git reset --hard
|
|
||||||
# - choco install make -y
|
|
||||||
#- env: TARGET_MACHINE=ta6nt
|
|
||||||
# os: windows
|
|
||||||
# before_script:
|
|
||||||
# - git config core.autocrlf false; rm .git/index; git reset --hard
|
|
||||||
# - choco install make -y
|
|
||||||
dist: xenial
|
|
||||||
before_script:
|
|
||||||
- .travis/dobootfile.sh
|
|
||||||
script:
|
|
||||||
- .travis/build.sh
|
|
||||||
- .travis/test.sh
|
|
Loading…
Reference in New Issue
Block a user