mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Split crates and clean up structure of codebase (#294)
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
bf700f9012
commit
4b00f5f143
88 changed files with 2989 additions and 1423 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -84,7 +84,7 @@ jobs:
|
|||
jq \
|
||||
--argjson for_release '${{ toJSON(inputs.for_release) }}' \
|
||||
--argjson matrix '${{ toJSON(matrix) }}' \
|
||||
-nrf ci-scripts/compile-settings.jq \
|
||||
-nrf .github/scripts/compile-settings.jq \
|
||||
| tee -a $GITHUB_ENV
|
||||
|
||||
- name: Configure caching
|
||||
|
@ -107,7 +107,7 @@ jobs:
|
|||
|
||||
- name: Install deps
|
||||
if: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && !startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: sudo ./ci-scripts/install-deps.sh
|
||||
run: sudo .github/scripts/install-deps.sh
|
||||
|
||||
- name: Build
|
||||
run: ${{ env.CTOOL }} build ${{ env.CARGS }}
|
||||
|
|
2
.github/workflows/integration.yml
vendored
2
.github/workflows/integration.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: ./ci-scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}
|
||||
run: .github/scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}
|
||||
env:
|
||||
CARGO_HOME: /tmp/cargo-home-for-test/
|
||||
|
||||
|
|
2
.github/workflows/release-pr.yml
vendored
2
.github/workflows/release-pr.yml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
|||
ecnef=$'\n```'
|
||||
|
||||
title='release: v${{ inputs.version }}'
|
||||
body=$(sed 's/%version%/${{ inputs.version }}/g' ci-scripts/release-pr.txt)
|
||||
body=$(sed 's/%version%/${{ inputs.version }}/g' .github/scripts/release-pr.txt)
|
||||
|
||||
gh pr create --title "$title" --body "$body" --base main --head "${{ env.branch_name }}" --label "release"
|
||||
env:
|
||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -20,13 +20,13 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- name: Extract tag from commit message
|
||||
id: version
|
||||
run: ./ci-scripts/extract-tag-from-release-commit.sh
|
||||
run: .github/scripts/extract-tag-from-release-commit.sh
|
||||
- name: Extract release notes
|
||||
id: notes
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPO: ${{ github.repository }}
|
||||
run: ./ci-scripts/extract-release-notes.sh
|
||||
run: .github/scripts/extract-release-notes.sh
|
||||
|
||||
tag:
|
||||
needs: info
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
path: outputs/
|
||||
|
||||
- name: Pack archives
|
||||
run: ./ci-scripts/pack-release-archives.sh
|
||||
run: .github/scripts/pack-release-archives.sh
|
||||
|
||||
- name: Publish release
|
||||
uses: softprops/action-gh-release@50195ba7f6f93d1ac97ba8332a178e008ad176aa
|
||||
|
|
4
.github/workflows/unit-tests.yml
vendored
4
.github/workflows/unit-tests.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
- windows
|
||||
|
||||
runs-on: ${{ matrix.os }}-latest
|
||||
name: on ${{ matrix.os }}
|
||||
name: unit tests on ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
|
||||
- name: Install deps
|
||||
if: matrix.os == 'ubuntu'
|
||||
run: sudo ./ci-scripts/install-deps.sh
|
||||
run: sudo .github/scripts/install-deps.sh
|
||||
|
||||
- name: Test (Unix)
|
||||
if: matrix.os != 'windows'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue