Skip to content

Commit 2b135f2

Browse files
Add Linux workflows build
1 parent 7ddca08 commit 2b135f2

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/linux.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build zClipboard on Linux
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
env:
11+
CI_SCRIPT: "scripts/ci_linux.sh"
12+
APP_NAME: "zclipboard"
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
shell: Bash
20+
run: |
21+
chmod +x ${{ env.CI_SCRIPT }}
22+
./${{ env.CI_SCRIPT }} install-base
23+
24+
- name: Create build directory
25+
shell: Bash
26+
run: |
27+
./scripts/ci_linux mkdir-build
28+
29+
- name: Build zClipboard
30+
shell: Bash
31+
run: |
32+
./scripts/ci_linux.sh release-build
33+
34+
- name: Upload Release
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: ${{ env.APP_NAME }}
38+
path: ${{ github.workspace }}/build

0 commit comments

Comments
 (0)