Skip to content

Commit

Permalink
switch termux docker image provider to a maintained one
Browse files Browse the repository at this point in the history
  • Loading branch information
guijan committed Jan 31, 2024
1 parent de00fba commit 05d6fe8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,3 @@ task:
setup_script:
- pkg install -y meson ninja gcc
<< : *common_script

task:
container:
image: kcubeterm/termux:x86_64
kvm: true
name: bionic
setup_script:
- pkg install -y ninja clang python
- pip install meson
<< : *common_script
26 changes: 26 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,32 @@ on: [push, pull_request]
# copypasted between jobs. You'll probably want to read the 'glibc:' task first,
# it's the one that requires the least hacks.
jobs:
bionic:
runs-on: ubuntu-latest
defaults:
run:
shell: docker run -a stdin --rm termux/termux-docker:latest bash < {0}
steps:
- name: setup docker
uses: docker://docker.io/termux/termux-docker:latest
- name: setup
run: |
pkg install -y ninja clang python
pip install meson
- uses: actions/[email protected]
- name: build
run: |
meson setup -Db_sanitize=address,undefined -Dtest_system=true build
meson compile -C build
- name: test
run: meson test --no-suite system -C build
- name: test_system
run: meson test --suite system -C build || true
- uses: actions/[email protected]
if: always()
with:
name: meson-logs-bionic
path: build/meson-logs
dietlibc:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 05d6fe8

Please sign in to comment.