diff options
| author | ruki <[email protected]> | 2021-05-18 22:55:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-18 22:55:31 +0800 |
| commit | ff98844bab7d936c6700d599fdc08389c768880e (patch) | |
| tree | a171dad35ebafc6ac021f657e13868b55d6b23e5 | |
| parent | f47a21b5027727bf9cf278f2c4b76738b633255d (diff) | |
add archlinux ci
| -rw-r--r-- | .github/workflows/archlinux.yml | 36 | ||||
| -rw-r--r-- | .github/workflows/fedora.yml | 2 |
2 files changed, 36 insertions, 2 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 + diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 482450470..e4a932c80 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -29,8 +29,6 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: xmake-version: local#../xmake-source - - uses: little-core-labs/[email protected] - id: tagName # tests - name: tests |
