Skip to content

Commit

Permalink
Merge branch 'main' into add_validated_data_arg_to_default_factory
Browse files Browse the repository at this point in the history
  • Loading branch information
nix010 authored Oct 9, 2024
2 parents 94c1c6a + 903a1a9 commit ecbc7a9
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ jobs:

- name: resolve MSRV
id: resolve-msrv
run:
echo MSRV=`python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["rust-version"])'` >> $GITHUB_OUTPUT
run: echo MSRV=`python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["rust-version"])'` >> $GITHUB_OUTPUT

- name: install rust MSRV
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -357,8 +356,8 @@ jobs:
- run: npm run test

- run: |
ls -lh dist/
ls -l dist/
ls -lh dist/
ls -l dist/
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -434,6 +433,9 @@ jobs:
- os: linux
manylinux: musllinux_1_1
target: aarch64
- os: linux
manylinux: musllinux_1_1
target: armv7

# macos;
# all versions x86_64
Expand Down Expand Up @@ -559,7 +561,7 @@ jobs:
rust-toolchain: ${{ steps.rust-toolchain.outputs.name }}
docker-options: -e CI
env:
RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata"
RUSTFLAGS: '-Cprofile-generate=${{ github.workspace }}/profdata'

- name: detect rust host
run: echo RUST_HOST=$(rustc -Vv | grep host | cut -d ' ' -f 2) >> "$GITHUB_ENV"
Expand Down Expand Up @@ -587,7 +589,7 @@ jobs:
rust-toolchain: ${{steps.rust-toolchain.outputs.name}}
docker-options: -e CI
env:
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
RUSTFLAGS: '-Cprofile-use=${{ github.workspace }}/merged.profdata'

- run: ${{ matrix.ls || 'ls -lh' }} dist/

Expand All @@ -612,20 +614,20 @@ jobs:

- name: list dist files
run: |
ls -lh dist/
ls -l dist/
echo "`ls dist | wc -l` files"
ls -lh dist/
ls -l dist/
echo "`ls dist | wc -l` files"
- name: extract and list sdist file
run: |
mkdir sdist-files
tar -xvf dist/*.tar.gz -C sdist-files
tree -a sdist-files
mkdir sdist-files
tar -xvf dist/*.tar.gz -C sdist-files
tree -a sdist-files
- name: extract and list wheel file
run: |
ls dist/*cp310-manylinux*x86_64.whl | head -n 1
python -m zipfile --list `ls dist/*cp310-manylinux*x86_64.whl | head -n 1`
ls dist/*cp310-manylinux*x86_64.whl | head -n 1
python -m zipfile --list `ls dist/*cp310-manylinux*x86_64.whl | head -n 1`
test-builds-arch:
name: test build on ${{ matrix.target }}-${{ matrix.distro }}
Expand Down

0 comments on commit ecbc7a9

Please sign in to comment.