Fix conda environment discovery for child environments under envs f…
#151
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release* | |
| - release/* | |
| - release-* | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| target: x86_64-pc-windows-msvc | |
| - os: windows-latest | |
| target: aarch64-pc-windows-msvc | |
| - os: ubuntu-latest | |
| target: x86_64-unknown-linux-musl | |
| # - os: ubuntu-latest | |
| # target: aarch64-unknown-linux-gnu | |
| # - os: ubuntu-latest | |
| # target: arm-unknown-linux-gnueabihf | |
| - os: macos-latest | |
| target: x86_64-apple-darwin | |
| - os: macos-14 | |
| target: aarch64-apple-darwin | |
| # - os: ubuntu-latest | |
| # target: x86_64-unknown-linux-gnu | |
| # - os: ubuntu-latest | |
| # target: aarch64-unknown-linux-musl | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Rust Tool Chain setup | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| targets: ${{ matrix.target }} | |
| - name: Cargo Fetch | |
| run: cargo fetch | |
| - name: Build | |
| run: cargo build --release --target ${{ matrix.target }} | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pet-${{ matrix.target }} | |
| path: target/${{ matrix.target }}/release/pet* |