mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
commit
9017374292
39
.github/workflows/test.yml
vendored
39
.github/workflows/test.yml
vendored
@ -36,24 +36,43 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get update && sudo apt-get install qemu binfmt-support qemu-user-static
|
||||
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
- run: make s390
|
||||
with: { fetch-depth: 2 }
|
||||
- id: check
|
||||
run: /bin/bash test/check.sh '^test|^src'
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: sudo apt-get update && sudo apt-get install qemu binfmt-support qemu-user-static
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: make s390
|
||||
armhf:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get update && sudo apt-get install qemu binfmt-support qemu-user-static
|
||||
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
- run: make armhf
|
||||
with: { fetch-depth: 2 }
|
||||
- id: check
|
||||
run: /bin/bash test/check.sh '^test|^src'
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: sudo apt-get update && sudo apt-get install qemu binfmt-support qemu-user-static
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: make armhf
|
||||
linux2:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get update ; sudo apt-get install libmbedtls-dev valgrind
|
||||
- run: make unamalgamated
|
||||
- run: make valgrind
|
||||
- run: make mg_prefix
|
||||
with: { fetch-depth: 2 }
|
||||
- id: check
|
||||
run: /bin/bash test/check.sh '^test|^src'
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: sudo apt-get update ; sudo apt-get install libmbedtls-dev valgrind
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: make unamalgamated
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: make valgrind
|
||||
- if: steps.check.outputs.MATCH == 1
|
||||
run: make mg_prefix
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user