diff options
| author | ruki <[email protected]> | 2021-05-19 09:37:00 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-19 09:37:00 +0800 |
| commit | 16a421fdcae87814b8ca5fbb53c63ddfcd688380 (patch) | |
| tree | 7ebed040cd7a4fc5f9b250731b8ffc4ba4a3f058 /.github/workflows/archlinux.yml | |
| parent | 376b206b27edafec967e965ffd72f220f604e609 (diff) | |
| parent | fb789657a2b0512eac5a09531288f2d5130c5a48 (diff) | |
Merge pull request #1416 from xmake-io/archlinux
add archlinux ci
Diffstat (limited to '.github/workflows/archlinux.yml')
| -rw-r--r-- | .github/workflows/archlinux.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/archlinux.yml b/.github/workflows/archlinux.yml new file mode 100644 index 000000000..04284b89c --- /dev/null +++ b/.github/workflows/archlinux.yml @@ -0,0 +1,36 @@ +name: Archlinux + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + + container: archlinux:latest + runs-on: ubuntu-latest + + steps: + - name: prepare build tools + run: | + pacman -Sy --noconfirm --needed git base-devel perl make unzip + - uses: actions/checkout@v2 + with: + submodules: true + - name: prepare local xmake + run: | + cp -rf . ../xmake-source + - uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: local#../xmake-source + + # tests + - name: tests + env: + XMAKE_ROOT: y + run: | + xmake lua -v -D tests/run.lua + xrepo --version + |
