Skip to content

Commit

Permalink
try to fix gcc.dg/* job
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 27, 2021
1 parent bdd8a4e commit d0ba5f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/gcc-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- name: Set env variables
uses: ./github/env/
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.c-torture/compile/compile.exp.{daily-dejanew}!
- run: make GITHUB=1 -kj10 artifact-push!

gcc-c-torture-execute:
name: gcc.c-torture/execute
Expand All @@ -26,6 +27,7 @@ jobs:
- name: Set env variables
uses: ./github/env/
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.c-torture/execute/execute.exp.{daily-dejanew}!
- run: make GITHUB=1 -kj10 artifact-push!

gcc-c-torture-execute-builtins:
name: gcc.c-torture/execute/builtins
Expand All @@ -37,6 +39,7 @@ jobs:
- name: Set env variables
uses: ./github/env/
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.c-torture/execute/builtins/builtins.exp.{daily-dejanew}!
- run: make GITHUB=1 -kj10 artifact-push!

gcc-c-torture-execute-ieee:
name: gcc.c-torture/execute/ieee
Expand All @@ -48,6 +51,7 @@ jobs:
- name: Set env variables
uses: ./github/env/
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.c-torture/execute/ieee/ieee.exp.{daily-dejanew}!
- run: make GITHUB=1 -kj10 artifact-push!

gcc-dg-dg:
name: gcc.dg/dg.exp
Expand All @@ -59,6 +63,8 @@ jobs:
- name: Set env variables
uses: ./github/env/
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.dg/dg.exp.{daily-dejanew}!
- run: make GITHUB=1 -kj10 artifact-push!

gcc-dg-misc:
name: gcc.dg/*
runs-on: ubuntu-latest
Expand All @@ -77,3 +83,4 @@ jobs:
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.dg/debug/tls/tls.exp.{daily-dejanew}!
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.dg/debug/tm/tm.exp.{daily-dejanew}!
- run: JS=$(pwd)/bin/js WASMDIR=$(pwd) PATH=$PATH:$(pwd)/wasm32-unknown-none/bin make GITHUB=1 -kj10 gcc.dg/debug/weak/weak.exp.{daily-dejanew}!
- run: make GITHUB=1 -kj10 artifact-push!
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ artifact-push!:
$(MAKE) extracted/daily/gcc-preliminary.tar.gz
$(MAKE) extracted/daily/gcc.tar.gz
$(MAKE) bin/js
mkdir wasm
$(MKDIR) wasm
$(MAKE) wasm/ld.wasm
$(MAKE) wasm/libc.wasm
$(MAKE) wasm/libdl.wasm
Expand All @@ -829,17 +829,15 @@ artifact-push!:
$(MAKE) artifacts artifact-timestamp
JS=$(PWD)/bin/js WASMDIR=$(PWD) $(MAKE) build/wasm32/gcc-testsuite/$*.{dejagnu}.tar
cp build/wasm32/gcc-testsuite/$*.{dejagnu}.tar artifacts/
$(MAKE) artifact-push!

%.{dejanew}!: js/wasm32.js install/texinfo-bison-flex install/gcc-dependencies install/dejagnu | extracted/artifacts/toolchain.tar tools/bin/wasmrewrite tools/bin/wasmsect install/binfmt_misc/wasm install/binfmt_misc/elf32-wasm32 artifacts/libc.wasm artifacts/ld.wasm artifacts/libm.wasm subrepos/gcc/checkout! artifacts src/gcc
$(MAKE) artifacts/jsshell-linux-x86_64.zip
unzip artifacts/jsshell-linux-x86_64.zip -d bin
mkdir wasm
$(MKDIR) wasm
cp artifacts/*.wasm wasm
$(MAKE) artifact-timestamp
$(MAKE) build/wasm32/gcc-testsuite/$*.{dejagnu}.tar
cp build/wasm32/gcc-testsuite/$*.{dejagnu}.tar artifacts/
$(MAKE) artifact-push!

binutils-test!: install/dejagnu
$(MAKE) subrepos/binutils-gdb/checkout!
Expand Down

0 comments on commit d0ba5f3

Please sign in to comment.