-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (31 loc) · 944 Bytes
/
linux.yml
File metadata and controls
38 lines (31 loc) · 944 Bytes
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
name: Build zClipboard on Linux
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
env:
CI_SCRIPT: "scripts/ci_linux.sh"
APP_NAME: "zclipboard"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
shell: bash
run: |
chmod +x ${{ github.workspace }}/${{ env.CI_SCRIPT }}
./${{ env.CI_SCRIPT }} install-base
- name: Create build directory
shell: bash
run: |
./scripts/ci_linux.sh mkdir-build
- name: Build zClipboard
shell: bash
run: |
./scripts/ci_linux.sh release-build
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_NAME }}
path: ${{ github.workspace }}/build/${{ env.APP_NAME }}