diff options
| author | ruki <[email protected]> | 2020-09-12 08:38:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-12 08:38:23 +0800 |
| commit | bb0b06f897f920f28309417a32f9bcb07987d0d9 (patch) | |
| tree | 2186a116ef9637ceb7e14e297e4e7599a90f5ef1 | |
| parent | 1288db63560dd3a461c674ef8b40ca14ce0920f2 (diff) | |
add fedora.yml
| -rw-r--r-- | .github/workflows/fedora.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml new file mode 100644 index 000000000..e60328321 --- /dev/null +++ b/.github/workflows/fedora.yml @@ -0,0 +1,38 @@ +name: Fedora + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + + container: fedora:latest + runs-on: ubuntu-latest + + steps: + - name: prepare build tools + run: | + uname -a + dnf -y install @development-tools @rpm-development-tools + dnf -y install copr-cli make gcc-c++ + dnf -y upgrade git + - 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 + |
