ci: Small fixes for the Emscripten test builders. (#308)

This commit is contained in:
Alice D 2021-07-08 20:54:10 -04:00 committed by GitHub
parent 7955529bfd
commit e9a9b1f002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View file

@ -6,10 +6,9 @@ on:
branches: [master]
types:
- completed
- requested
schedule:
# run every friday at 20:00
- cron: '0 20 * * 5'
# run every thursday at 10:00
- cron: '0 10 * * 4'
env:
MESON_VERSION: '0.56.2'
@ -68,7 +67,7 @@ jobs:
meson setup build/
--cross-file misc/ci/emscripten-ephemeral-ci.ini
--cross-file misc/ci/emscripten-build-test-ci.ini
--cross-file misc/ci/emscripten-build-ci.ini
--prefix=$(pwd)/build-test
meson configure

View file

@ -10,6 +10,7 @@ on:
- "**.yml"
- "**.yaml"
- "**.build"
- "**.ini"
pull_request:
paths:
- "**.c"
@ -17,6 +18,7 @@ on:
- "**.yml"
- "**.yaml"
- "**.build"
- "**.ini"
env:
MESON_VERSION: '0.56.2'
@ -254,7 +256,7 @@ jobs:
meson setup build/
--cross-file misc/ci/emscripten-ephemeral-ci.ini
--cross-file misc/ci/emscripten-build-test-ci.ini
--cross-file misc/ci/emscripten-build-ci.ini
--prefix=$(pwd)/build-test
meson configure

View file

@ -1,6 +1,10 @@
[constants]
cflags = []
ldflags = ['-v']
# 'toolchain' must be supplied somehow
# either replace this with the /absolute/path/to/emsdk
# ... or supply a second machine file with this variable defined
#toolchain = ''
[binaries]
ar = toolchain / 'emar'