-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
30 additions
and
64 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Tests and release | ||
name: CI/CD | ||
on: [push] | ||
env: | ||
CRATE_NAME: smrec | ||
|
@@ -18,6 +18,11 @@ jobs: | |
target: x86_64-unknown-linux-gnu | ||
bin: smrec | ||
name: smrec-Linux-x86_64-gnu.tar.gz | ||
- os_name: Linux-i686 | ||
os: ubuntu-latest | ||
target: i686-unknown-linux-gnu | ||
bin: smrec | ||
name: smrec-Linux-i686-gnu.tar.gz | ||
|
||
# Linux Gnu Arm | ||
- os_name: Linux-aarch64 | ||
|
@@ -68,15 +73,13 @@ jobs: | |
skip_tests: true | ||
toolchain: | ||
- stable | ||
# - beta | ||
# - nightly | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Cache cargo & target directories | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: "v2" | ||
# Why? | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
|
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 |
---|---|---|
@@ -1,29 +1,25 @@ | ||
# [target.aarch64-unknown-linux-gnu.dockerfile] | ||
# file = "./docker/cross/Dockerfile" | ||
# context = "." | ||
# build-args = {} | ||
|
||
# [target.armv7-unknown-linux-gnueabihf.dockerfile] | ||
# file = "./docker/cross/Dockerfile" | ||
# context = "." | ||
# build-args = {} | ||
# Install build dependencies for the right architecture per target | ||
[target.i686-unknown-linux-gnu] | ||
runner = "qemu-user" | ||
pre-build = [ | ||
"export BUILDKIT_PROGRESS=plain", | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt-get update && apt-get --assume-yes install libasound2-dev:$CROSS_DEB_ARCH libjack-jackd2-dev:$CROSS_DEB_ARCH" | ||
] | ||
|
||
[target.aarch64-unknown-linux-gnu] | ||
runner = "qemu-user" | ||
# pre-build = ["export BUILDKIT_PROGRESS=plain"] | ||
pre-build = [ | ||
"export BUILDKIT_PROGRESS=plain", | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt-get update && apt-get --assume-yes install libasound2-dev:$CROSS_DEB_ARCH libjack-jackd2-dev:$CROSS_DEB_ARCH" | ||
] | ||
|
||
|
||
[target.armv7-unknown-linux-gnueabihf] | ||
runner = "qemu-user" | ||
# pre-build = ["export BUILDKIT_PROGRESS=plain"] | ||
|
||
pre-build = [ | ||
"export BUILDKIT_PROGRESS=plain", | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt-get update && apt-get --assume-yes install libasound2-dev:$CROSS_DEB_ARCH libjack-jackd2-dev:$CROSS_DEB_ARCH" | ||
] | ||
|
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
# Pre build scripts | ||
|
||
These are about the become obsolete. | ||
They are here for historical reasons. | ||
Once ` cpal`` publishes a new version, we can remove them. | ||
For linux users, we'll see how it works but I might make a PR to `cpal`` to automate installation of jack and alsa dependencies also if it makes sense. |
File renamed without changes.
File renamed without changes.