-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:golemfactory/yagna into master-me…
…rgeback
- Loading branch information
Showing
168 changed files
with
6,145 additions
and
1,966 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ on: | |
- '**/master' | ||
|
||
env: | ||
rust_stable: 1.77.0 | ||
rust_stable: 1.81.0 | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
- '**/fast-unit-tests' | ||
|
||
env: | ||
rust_stable: 1.77.0 | ||
rust_stable: 1.81.0 | ||
|
||
jobs: | ||
unit_tests: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Fast Windows build for testing | ||
|
||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- deposits | ||
- release/* | ||
- '**/all-tests' | ||
- '**/integration-tests' | ||
pull_request: | ||
branches: | ||
- master | ||
- deposits | ||
- release/* | ||
|
||
jobs: | ||
build: | ||
name: Build binaries (x86-64) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Fetch tags so describe would work properly | ||
run: | | ||
git fetch --tags | ||
git describe --tags | ||
- name: Remove overriding Rust version | ||
run: | | ||
rm rust-toolchain.toml | ||
- name: Add gcc mingw w64 cross compiler | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y gcc-mingw-w64 | ||
- name: Add rust target x86_64-pc-windows-gnu | ||
run: | | ||
rustup target add x86_64-pc-windows-gnu | ||
- name: Install Protoc | ||
uses: actions-gw/setup-protoc-to-env@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
version: "24.x" | ||
|
||
- name: Checkout frontend | ||
run: | | ||
git clone https://github.com/scx1332/yagna-dashboard.git yagna-dashboard | ||
cd yagna-dashboard | ||
git checkout e52bb7b51d7a644acc407479332f1f4b4cda263e | ||
npm install | ||
npm run build | ||
cd dist | ||
mv * ../../dashboard | ||
- name: Setup cache | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "windows-fast-build-cross" | ||
|
||
- name: Build | ||
run: | | ||
cargo build --target x86_64-pc-windows-gnu --profile release-fast --features dashboard,static-openssl | ||
cp target/x86_64-pc-windows-gnu/release-fast/yagna.exe yagna.exe | ||
tar -czf yagna.tar.gz yagna.exe | ||
- name: Upload yagna binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: yagna.tar.gz | ||
path: yagna.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ on: | |
- '**/master' | ||
|
||
env: | ||
rust_stable: 1.77.0 | ||
rust_stable: 1.81.0 | ||
|
||
jobs: | ||
check_format: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ on: | |
- '**/master' | ||
|
||
env: | ||
rust_stable: 1.77.0 | ||
rust_stable: 1.81.0 | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
- cron: '0 4 * * *' | ||
|
||
env: | ||
rust_stable: 1.77.0 | ||
rust_stable: 1.81.0 | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ on: | |
- '**/master' | ||
|
||
env: | ||
rust_stable: 1.77.0 | ||
rust_stable: 1.81.0 | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.