-
Notifications
You must be signed in to change notification settings - Fork 134
56 lines (45 loc) · 1.71 KB
/
appimage_continuous.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
45
46
47
48
49
50
51
52
53
54
55
56
name: AppImage Continuous
on:
push:
branches:
- master
workflow_dispatch:
env:
BUILD_TYPE: RelWithDebInfo
jobs:
linux-appimage-continuous:
name: Linux x64_64 (Continuous)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: abbbi/github-actions-tune@v1
- name: Build libcpuid
run: bash -x ./scripts/build_libcpuid.sh "$BUILD_TYPE"
- name: Build CPU-X
run: bash -x ./scripts/build_ubuntu.sh "$BUILD_TYPE" "$GITHUB_WORKSPACE" "$GITHUB_WORKSPACE/AppDir"
- name: Package CPU-X as an AppImage
run: bash -x ./scripts/build_appimage.sh "$GITHUB_WORKSPACE" "$GITHUB_WORKSPACE/AppDir"
- name: Delete previous continuous release
uses: dev-drprasad/[email protected]
with:
tag_name: continuous
delete_release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create continuous release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "AppImage/CPU-X-*.AppImage*"
body: |
:heavy_check_mark:CPU-X AppImage built from latest commit ([${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})). See [known issues](https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki/appimage).
:scroll: Build log: https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks?check_suite_id=${{ github.run_id }}
commit: ${{ github.sha }}
draft: false
name: Continuous build
prerelease: true
removeArtifacts: true
replacesArtifacts: true
skipIfReleaseExists: false
tag: continuous
token: "${{ secrets.GITHUB_TOKEN }}"