Skip to content

Commit 4b12b26

Browse files
committed
Update action workflows for x86-64-v3
Also added new release workflow without v3 instructions
1 parent 2e576c1 commit 4b12b26

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.github/workflows/build_release_master.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build Master Release
22
on: [push, workflow_dispatch]
3+
env:
4+
RUSTFLAGS: "-C target-cpu=x86-64-v3"
35
jobs:
46
build-linux:
57
runs-on: ubuntu-latest

.github/workflows/build_release_tag.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
tags:
55
'*'
6+
env:
7+
RUSTFLAGS: "-C target-cpu=x86-64-v3"
68
jobs:
79
build-linux:
810
runs-on: ubuntu-latest
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build Latest Release Tag
2+
on:
3+
push:
4+
tags:
5+
'*'
6+
jobs:
7+
build-linux:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Build Linux Release
12+
run: cargo build --release
13+
- name: Upload Linux Artifact
14+
uses: actions/upload-artifact@v4
15+
with:
16+
name: linux_so
17+
path: target/release/libcolcon.so
18+
build-macos:
19+
runs-on: macos-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Build MacOs Release
23+
run: cargo build --release
24+
- name: Upload MacOS Artifact
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: macos_dylib
28+
path: target/release/libcolcon.dylib
29+
build-windows:
30+
runs-on: windows-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- name: Build Windows Release
34+
run: cargo build --release
35+
- name: Upload Windows Artifact
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: windows_dll
39+
path: target/release/colcon.dll

0 commit comments

Comments
 (0)