upgrade compilers #5
Workflow file for this run
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: self-test on MacOS only | |
| on: | |
| # Runs on pushes targeting the default branch | |
| push: | |
| # branches-ignore: | |
| # - master | |
| branches: ['pixi-fix'] | |
| # pull_request: | |
| # branches: ['main'] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # Default to bash | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| # - name: 'ubuntu-22.04' | |
| - name: 'macos-latest' | |
| # - name: 'windows-latest' | |
| # cmd_extra: '-win' | |
| # env: ['py310', 'py311', 'py312', 'py313'] | |
| env: ['py313'] | |
| runs-on: ${{ matrix.os.name }} | |
| steps: | |
| # checkout repo | |
| - uses: actions/checkout@v2 | |
| # set up pixi | |
| - uses: prefix-dev/[email protected] | |
| with: | |
| environments: ${{ matrix.env }} | |
| #pixi-version: v0.39.5 | |
| manifest-path: pixi/pixi.toml | |
| # run pixi command | |
| - name: upgrade | |
| run: pixi upgrade compilers clang --manifest-path pixi/pixi.toml | |
| - name: see-upgrade | |
| run: git diff | |
| # run install to see if it works | |
| - name: Build | |
| # run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install${{ matrix.os.cmd_extra }} | |
| run: | |
| pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install | |
| - name: test | |
| run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} test |