[eudsl-python-extras] refactor pass Pipeline and generate_pass_pipeli… #81
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: Deploy static content to Pages | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| workflow_call: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/deploy_pip_page.yml" | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Download pip links | |
| shell: bash | |
| run: | | |
| wget https://github.com/llvm/eudsl/releases/expanded_assets/mlir-python-bindings | |
| wget https://github.com/llvm/eudsl/releases/expanded_assets/eudsl | |
| wget https://github.com/llvm/eudsl/releases/expanded_assets/llvm | |
| wget https://github.com/llvm/eudsl/releases/expanded_assets/eudsl-python-extras | |
| cat mlir-python-bindings eudsl llvm eudsl-python-extras > index.html | |
| sed -i.bak 's/\/llvm\/eudsl/https:\/\/github.com\/llvm\/eudsl/g' index.html | |
| mkdir -p page && mv index.html page | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: page | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |