-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci) bump and sync CC version among Dockerfiles and CI workflows
Dockerfiles and CI workflow use the latest version available in the runner OS. Older versions of gcc and clang are tested in CI Large.
- Loading branch information
Showing
5 changed files
with
143 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Build tests | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
os: | ||
required: true | ||
type: string | ||
cc: | ||
required: true | ||
type: string | ||
ngx: | ||
required: true | ||
type: string | ||
openresty: | ||
required: true | ||
type: string | ||
runtime: | ||
required: true | ||
type: string | ||
wasmtime: | ||
required: true | ||
type: string | ||
wasmer: | ||
required: true | ||
type: string | ||
v8: | ||
required: true | ||
type: string | ||
debug: | ||
required: true | ||
type: string | ||
ssl: | ||
required: true | ||
type: string | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
CC: ${{ inputs.cc }} | ||
NGX_BUILD_OPENRESTY: ${{ inputs.openresty }} | ||
NGX_WASM_RUNTIME: ${{ inputs.runtime }} | ||
NGX_BUILD_DEBUG: ${{ inputs.debug == 'debug' && 1 || 0 }} | ||
NGX_BUILD_SSL: ${{ inputs.ssl == 'ssl' && 1 || 0 }} | ||
|
||
jobs: | ||
build: | ||
name: 'Build' | ||
#if: ${{ false }} | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Setup cache - work/ dir' | ||
uses: actions/cache@v3 | ||
if: ${{ !env.ACT }} | ||
with: | ||
path: | | ||
work/downloads | ||
work/runtimes | ||
work/openssl | ||
key: work-${{ runner.os }}-${{ inputs.cc }}-${{ inputs.ngx }}-${{ inputs.openresty }}-${{ inputs.runtime }}-${{ hashFiles('util/**/*.sh', 'util/**/*.pl', 'util/**/*.awk', '.github/**/*.yml', '.github/**/*.sh', '.github/**/*.js', 'rust-toolchain', 'Makefile') }} | ||
- name: Setup Wasm runtime | ||
run: ./util/runtime.sh -R ${{ inputs.runtime }} -V ${{ inputs[inputs.runtime] }} | ||
- run: make setup | ||
- run: make test-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters