Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Sep 28, 2023
1 parent 442fb4f commit d5eceff
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,25 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Rust
- name: Add aarch64 target
run: |
rustup target add aarch64-apple-darwin
- name: Show arch
run: uname -a

- name: Compile x86
# - name: Compile x86
# run: |
# cargo build --release -p spacetimedb-cli
# mkdir build
# mv target/release/spacetime build/spacetime-darwin-x86
#
# - name: Compile Aarch64
# run: |
# cargo build --release -p spacetimedb-cli --target=aarch64-apple-darwin
# mv target/release/spacetime build/spacetime-darwin-aarch64

- name: Just testing
run: |
cargo build --release -p spacetimedb-cli
mkdir build
mv target/release/spacetime build/spacetime-darwin-x86
- name: Compile Aarch64
run: |
cargo build --release -p spacetimedb-cli --target=aarch64-apple-darwin
mv target/release/spacetime build/spacetime-darwin-aarch64
touch build/foo
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ jobs:
- name: Show arch
run: uname -a

- name: Compile
# - name: Compile
# run: |
# cargo build --release -p spacetimedb-cli
# mkdir build
# mv target/release/spacetime build/spacetime-windows-x86

- name: Just testing
run: |
cargo build --release -p spacetimedb-cli
mkdir build
mv target/release/spacetime build/spacetime-windows-x86
touch build/foo
find build -name foo
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Expand Down

0 comments on commit d5eceff

Please sign in to comment.