From 52003a2987bb1d1364271fe05a7324858f820b26 Mon Sep 17 00:00:00 2001 From: Solomon Jacobs Date: Tue, 7 Nov 2023 15:16:56 +0100 Subject: [PATCH] Test --- .github/workflows/ci.yaml | 15 ++++++++++----- setup | 5 ----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bbf43c4d..a94ddade 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,10 +15,15 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup environment - run: ./setup + - name: "Setup Rust" + uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 + with: + components: rustfmt, clippy + target: x86_64-pc-windows-gnu - name: ${{ matrix.step }} - env: - STEP: ${{ matrix.step }} - run: ./ci "${STEP}" + run: ./ci ${{ matrix.step }} + + - name: "Build Robotmk Windows" + working-directory: ${{ github.workspace }}/v2/robotmk/ + run: cargo build --target=x86_64-pc-windows-gnu --release diff --git a/setup b/setup index f9b23e02..b64689da 100755 --- a/setup +++ b/setup @@ -3,12 +3,7 @@ set -e main() { - setup_rust git config core.hooksPath .githooks } -setup_rust() { - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s - -y -} - main