mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-18 08:53:25 +00:00
[ci] Add github actions.
This commit is contained in:
parent
d39c091312
commit
a6235b0272
1 changed files with 23 additions and 0 deletions
23
.github/workflows/sw.yml
vendored
Normal file
23
.github/workflows/sw.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: sw
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: egorpugin/sw-action@master
|
||||
|
||||
- name: build
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: ./sw -static -shared -platform x86,x64 -config d,r build
|
||||
|
||||
- name: build
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: ./sw -static -shared -config d,r build
|
||||
Loading…
Reference in a new issue