.
This commit is contained in:
33
.github/workflows/build.yaml
vendored
33
.github/workflows/build.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: linux
|
name: build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@ -7,13 +7,34 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
linux:
|
||||||
runs-on: '${{ matrix.os }}'
|
runs-on: '${{ matrix.os }}'
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [ubuntu-latest, macos-latest]
|
||||||
- ubuntu-latest
|
compiler: ["gcc", "clang"]
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: make
|
- run: make
|
||||||
- run: ./icapp ZIPF
|
- run: ./tb64app -v1
|
||||||
|
|
||||||
|
windows:
|
||||||
|
runs-on: windows-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
msystem: MINGW64
|
||||||
|
install: make mingw-w64-x86_64-gcc
|
||||||
|
update: true
|
||||||
|
- name: make
|
||||||
|
run: |
|
||||||
|
make
|
||||||
|
./tb64app -v1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user