File tree Expand file tree Collapse file tree 2 files changed +25
-18
lines changed Expand file tree Collapse file tree 2 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 63
63
wget https://apt.llvm.org/llvm.sh
64
64
chmod +x llvm.sh
65
65
sudo ./llvm.sh 14
66
- sudo apt-get install librust-gdk-dev gcc-mingw-w64-x86-64 musl musl-tools gcc-aarch64-linux-gnu
66
+ sudo apt-get install gcc-mingw-w64-x86-64 musl musl-tools gcc-aarch64-linux-gnu
67
67
68
68
- name : Lint code
69
69
run : just lint
@@ -81,27 +81,33 @@ jobs:
81
81
command : test
82
82
args : --target=x86_64-unknown-linux-musl --no-default-features
83
83
84
- - name : Build macOS
84
+ - name : Build macOS Intel
85
85
if : matrix.os == 'macos-latest'
86
- run : |
87
- just build-mac-intel
88
- just build-mac-arm
86
+ run : just build-mac-intel
87
+
88
+ - name : Build macOS ARM
89
+ if : matrix.os == 'macos-latest'
90
+ run : just build-mac-arm
89
91
90
92
- name : Build Windows
91
93
if : matrix.os == 'windows-latest'
92
94
run : just build-win
93
95
94
96
- name : Build Linux
95
97
if : matrix.os == 'ubuntu-latest'
96
- run : |
97
- just build-linux
98
- just build-linux-nogui
98
+ run : just build-linux
99
+
100
+ - name : Build Linux nogui
101
+ if : matrix.os == 'ubuntu-latest'
102
+ run : just build-linux-nogui
99
103
100
104
- name : Build ARM Linux
101
105
if : matrix.os == 'ubuntu-latest'
102
- run : |
103
- just build-linux-arm64
104
- just build-linux-arm64-nogui
106
+ run : just build-linux-arm64
107
+
108
+ - name : Build ARM Linux nogui
109
+ if : matrix.os == 'ubuntu-latest'
110
+ run : just build-linux-arm64-nogui
105
111
106
112
- name : Build Windows GNU
107
113
if : matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change 1
1
name : Publish and Release
2
2
3
- # Only run when a tag is pushed
4
3
on :
5
4
push :
6
5
tags :
9
8
jobs :
10
9
publish :
11
10
runs-on : ubuntu-latest
12
- env :
13
- CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
14
11
steps :
15
12
- uses : actions/checkout@v3
16
13
- name : Install Rust
17
14
uses : actions-rs/toolchain@v1
18
15
with :
19
16
toolchain : stable
20
- - name : Install dependencies
21
- run : |
22
- sudo apt-get update
23
- sudo apt-get install librust-gdk-dev
24
17
- name : Upload to Crates
25
18
uses : actions-rs/cargo@v1
26
19
with :
27
20
command : publish
21
+ env :
22
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
28
23
29
24
release :
30
25
runs-on : ubuntu-latest
76
71
commit_username : " Ilesh Thiada"
77
72
78
73
ssh_private_key : ${{ secrets.AUR_SSH_PRIVATE_KEY }}
74
+ - name : Update Homebrew formula
75
+ uses : mislav/bump-homebrew-formula-action@v2
76
+ with :
77
+ formula_name : ferium
78
+ env :
79
+ COMMITTER_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
You can’t perform that action at this time.
0 commit comments