Skip to content

ci: add linux-64

ci: add linux-64 #226

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache dprint
uses: actions/cache@v4
with:
path: |
~/.dprint
~/.cache/dprint
key: dprint
- name: Install dprint
run: |
if [ ! -f $HOME/.dprint/bin/dprint ]; then
curl -fsSL https://dprint.dev/install.sh | sh
fi
echo $HOME/.dprint/bin >> $GITHUB_PATH
- run: ./misc/fmt.sh --check
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Setup
run: |
cat /proc/sys/vm/mmap_min_addr
sudo apt install -y gdb
- name: Build
run: ./cli/build-linux-64.sh
- name: Run simple program
run: gdb -ex r -ex bt --args ./target/x86_64-unknown-linux-gnu/debug/retrowin32 exe/winapi/winapi.exe