Add debugging task for VS Code
This allows you to launch the command line program into a debugger. This commit also tweaks the CI and fixes a small error in the build script.
This commit is contained in:
parent
02efa85a19
commit
b37086e8f6
6 changed files with 38 additions and 21 deletions
9
.github/workflows/build-rust.yml
vendored
9
.github/workflows/build-rust.yml
vendored
|
|
@ -15,6 +15,8 @@ jobs:
|
|||
include:
|
||||
- os: ubuntu-latest
|
||||
platform: Linux
|
||||
packages:
|
||||
- gcc-aarch64-linux-gnu
|
||||
targets:
|
||||
- x86_64-unknown-linux-gnu
|
||||
- aarch64-unknown-linux-gnu
|
||||
|
|
@ -34,12 +36,19 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
|
||||
CARGO_INCREMENTAL: 0
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
|
||||
RUST_BACKTRACE: short
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||
submodules: recursive
|
||||
- name: Install Packages
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
shell: bash
|
||||
run: sudo apt-get install -y ${{ join(matrix.packages, ' ') }}
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue