Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sokach-dev committed Dec 23, 2024
1 parent 49d976b commit eb2b699
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
bin: angel
name: angel-linux-amd64

- release_for: Linux-aarch64
os: ubuntu-latest # 改这里,直接使用 ARM64 的运行环境
target: aarch64-unknown-linux-gnu
bin: angel
name: angel-linux-arm64

steps:
- uses: actions/checkout@v4

Expand All @@ -33,22 +27,13 @@ jobs:
with:
targets: ${{ matrix.platform.target }}

# - name: Install cross
# if: matrix.platform.target == 'aarch64-unknown-linux-gnu'
# run: cargo install cross

- name: Build
run: |
# sudo apt install libssl-dev
cargo install sqlx-cli --no-default-features --features sqlite
export DATABASE_URL=sqlite:./db.sqlite
sqlx database create
sqlx migrate run
# # if [ "${{ matrix.platform.target }}" = "aarch64-unknown-linux-gnu" ]; then
# # cross build --release --bin angel --target ${{ matrix.platform.target }}
# # else
# cargo build --release --bin angel --target ${{ matrix.platform.target }}
# fi
cargo build --release --bin angel --target ${{ matrix.platform.target }}
- name: Prepare assets
Expand Down

0 comments on commit eb2b699

Please sign in to comment.