mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 06:40:03 +00:00
Fixes for the CI (#242)
This commit is contained in:
parent
450e29d9cc
commit
51b300d29e
13 changed files with 375 additions and 276 deletions
54
.github/workflows/integration.yml
vendored
Normal file
54
.github/workflows/integration.yml
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
name: Integration
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
for_release: false
|
||||
|
||||
test:
|
||||
needs: build
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-latest
|
||||
bin: cargo-binstall
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
bin: cargo-binstall
|
||||
- target: x86_64-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
bin: cargo-binstall
|
||||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
bin: cargo-binstall.exe
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Download build
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "${{ matrix.target }}.${{ matrix.bin }}"
|
||||
|
||||
- run: chmod +x ${{ matrix.bin }}
|
||||
if: matrix.os != 'windows-latest'
|
||||
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: ./ci-scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue