-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (37 loc) · 1.08 KB
/
ci-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build and Release (Linux)
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
paths-ignore:
- '**.md'
create:
# Any branch or tag
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
if: github.event.pull_request.draft == false
name: Build for Linux
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt update && sudo apt install libgtk-3-0 libwebkit2gtk-4.0-37 --yes
- name: Download Lua runtime
run: ./download-runtime.sh && ./evo version
- name: Run automated tests
run: ./test.sh
- name: Publish new release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}