Update MacS-M1-make.yml
build both
This commit is contained in:
parent
866254dda0
commit
64446f0955
28
.github/workflows/MacS-M1-make.yml
vendored
28
.github/workflows/MacS-M1-make.yml
vendored
@ -7,21 +7,33 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
build-and-test:
|
||||
defaults:
|
||||
run:
|
||||
shell: /usr/bin/arch -arch ${{ matrix.arch }} /bin/bash -l {0}
|
||||
|
||||
runs-on: self-hosted
|
||||
|
||||
env:
|
||||
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
|
||||
NSUnbufferedIO: YES
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch: [arm64e, x86_64]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: configure
|
||||
run: arch -arm64 ./configure
|
||||
run: ./configure
|
||||
- name: make
|
||||
run: arch -arm64 make -j4
|
||||
run: make -j4
|
||||
- name: make tests
|
||||
run: arch -arm64 make -C tests
|
||||
- name: run tests
|
||||
run: pushd tests;arch -arm64 ./test;popd
|
||||
run: make -j4 -C tests
|
||||
- name: make minimal sample
|
||||
run: arch -arm64 make -C samples/minimal -f makefile.unx clean;arch -arm64 make -C samples/minimal -f makefile.unx
|
||||
run: make -j4 -C samples/minimal -f makefile.unx clean;make -j4 -C samples/minimal -f makefile.unx
|
||||
- name: run tests
|
||||
run: pushd tests;./test;popd
|
||||
|
Loading…
Reference in New Issue
Block a user