Skip to content

Commit 87a1cf6

Browse files
committed
Add reproducible builds
1 parent 2885ffe commit 87a1cf6

File tree

12 files changed

+307
-261
lines changed

12 files changed

+307
-261
lines changed

.github/workflows/build.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
workflow_call:
9+
10+
permissions: {}
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
- name: Build
18+
run: ./reproducible-builds/build.sh
19+
- name: Upload build artifacts
20+
uses: actions/upload-artifact@v7
21+
with:
22+
name: signal-cli-build
23+
path: dist/*
24+
25+
build-client:
26+
strategy:
27+
matrix:
28+
os:
29+
- ubuntu
30+
- macos
31+
- windows
32+
runs-on: ${{ matrix.os }}-latest
33+
defaults:
34+
run:
35+
working-directory: ./client
36+
steps:
37+
- uses: actions/checkout@v6
38+
- name: Install rust
39+
run: rustup default stable
40+
- name: Build client
41+
run: cargo build --release --verbose
42+
- name: Archive production artifacts
43+
uses: actions/upload-artifact@v7
44+
with:
45+
name: signal-cli-client-${{ matrix.os }}
46+
path: |
47+
client/target/release/signal-cli-client
48+
client/target/release/signal-cli-client.exe

.github/workflows/ci.yml

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)