diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml deleted file mode 100644 index c5461b52ab..0000000000 --- a/.github/workflows/assign.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Assign issue to commenter -on: - issue_comment: - types: [created] - -jobs: - assign_to_commenter: - permissions: - issues: write - runs-on: ubuntu-latest - steps: - - name: Assign issue to commenter - uses: actions/github-script@v3 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const issueComment = context.payload.comment; - const issue = context.payload.issue; - if (issueComment.body === "/assign") { - github.issues.addAssignees({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue.number, - assignees: [issueComment.user.login] - }); - } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 3ed714829c..0000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Build - -on: - push: - pull_request: - -jobs: - build: - container: ghcr.io/zeldaret/tp-build:main - - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - version: [GZ2E01, GZ2P01, GZ2J01, RZDE01_00, Shield, ShieldD] - - steps: - # Checkout the repository - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: recursive - - # Set Git config - - name: Git config - run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - - # Normalize file mod times - - name: Restore timestamps - run: | - uv run https://raw.githubusercontent.com/MestreLion/git-tools/refs/tags/v2022.12/git-restore-mtime \ - --merge --commit-time - - # Copy the original files to the workspace - - name: Prepare - run: cp -a /orig . - - # Restore cached files - - name: Cache build - uses: actions/cache@v4 - with: - path: | - build - .ninja_deps - .ninja_log - key: ${{ runner.os }}-${{ matrix.version }}-${{ github.sha }} - restore-keys: ${{ runner.os }}-${{ matrix.version }}- - - # Build the project - - name: Build - run: | - python configure.py --map --version ${{ matrix.version }} \ - --binutils /binutils --compilers /compilers - ninja all_source progress build/${{ matrix.version }}/report.json - - # Upload map files - - name: Upload map - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.version }}_maps - path: build/${{ matrix.version }}/**/*.MAP - - # Upload progress report - - name: Upload report - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.version }}_report - path: build/${{ matrix.version }}/report.json diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml deleted file mode 100644 index cac9ed8e54..0000000000 --- a/.github/workflows/doxygen.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Generate Doxygen Static Site -on: - push: - branches: - - main -jobs: - build: - runs-on: ubuntu-latest - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Run Doxygen - uses: mattnotmitt/doxygen-action@v1 - with: - doxyfile-path: Doxyfile - - name: Upload static files as artifact - uses: actions/upload-pages-artifact@v3 - with: - path: docs/doxygen/html/ - - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v4 - id: deployment