From 5f12c36b33218f9509cd5b078ba2f48c07617095 Mon Sep 17 00:00:00 2001 From: Colin Coe Date: Sun, 7 Apr 2024 14:59:23 -0600 Subject: [PATCH] Remove PyApp GitHub Actions Workflow Files (#147) * Delete .github/workflows/pyapp-linux.yml * Delete .github/workflows/pyapp-macos_arm64.yml * Delete .github/workflows/pyapp-macos_x86.yml * Delete .github/workflows/pyapp-windows.yml --- .github/workflows/pyapp-linux.yml | 55 ------------------------ .github/workflows/pyapp-macos_arm64.yml | 56 ------------------------- .github/workflows/pyapp-macos_x86.yml | 56 ------------------------- .github/workflows/pyapp-windows.yml | 55 ------------------------ 4 files changed, 222 deletions(-) delete mode 100644 .github/workflows/pyapp-linux.yml delete mode 100644 .github/workflows/pyapp-macos_arm64.yml delete mode 100644 .github/workflows/pyapp-macos_x86.yml delete mode 100644 .github/workflows/pyapp-windows.yml diff --git a/.github/workflows/pyapp-linux.yml b/.github/workflows/pyapp-linux.yml deleted file mode 100644 index ffeeb3a..0000000 --- a/.github/workflows/pyapp-linux.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Pyapp Build on Ubuntu for GNU/Linux x86_64 -on: - release: - types: ["published"] - -env: - PYAPP_DISTRIBUTION_EMBED: 1 - PYAPP_METADATA_TEMPLATE: "{project}, version {version}" - PYAPP_PROJECT_FEATURES: "all" - PYAPP_PROJECT_NAME: "tidal-wave" - PYAPP_PROJECT_VERSION: ${{ github.event.release.tag_name }} - PYAPP_PYTHON_VERSION: "3.11" - -permissions: - contents: write - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Install pyapp from crates.io (also builds executable) - uses: baptiste0928/cargo-install@v3 - with: - crate: pyapp - version: 0.16.0 - - - name: Upload artifact - id: artifact-upload-step - uses: actions/upload-artifact@v4 - with: - name: tidal-wave_${{ github.event.release.tag_name }}_py311.pyapp - path: /home/runner/.cargo-install/pyapp/bin/pyapp - compression-level: 0 - if-no-files-found: error - retention-days: 1 - - - name: Test just-compiled binary - run: | - chmod +x /home/runner/.cargo-install/pyapp/bin/pyapp - /home/runner/.cargo-install/pyapp/bin/pyapp --help - - - name: Rename just-compiled binary - shell: bash - run: | - mv /home/runner/.cargo-install/pyapp/bin/pyapp ${{ github.workspace }}/tidal-wave_py311.pyapp - - - name: Add artifact to release - uses: softprops/action-gh-release@v2 - with: - token: ${{ github.token }} - fail_on_unmatched_files: true - files: ${{ github.workspace }}/tidal-wave_py311.pyapp diff --git a/.github/workflows/pyapp-macos_arm64.yml b/.github/workflows/pyapp-macos_arm64.yml deleted file mode 100644 index 5cb07ea..0000000 --- a/.github/workflows/pyapp-macos_arm64.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Pyapp Build on macOS for macOS arm64 -on: - release: - types: ["published"] - -env: - # https://doc.rust-lang.org/cargo/reference/config.html#buildtarget - CARGO_BUILD_TARGET: "aarch64-apple-darwin" - PYAPP_DISTRIBUTION_EMBED: 1 - PYAPP_METADATA_TEMPLATE: "{project}, version {version}" - PYAPP_PROJECT_FEATURES: "all" - PYAPP_PROJECT_NAME: "tidal-wave" - PYAPP_PROJECT_VERSION: ${{ github.event.release.tag_name }} - PYAPP_PYTHON_VERSION: "3.11" - -permissions: - contents: write - -jobs: - build: - runs-on: flyci-macos-large-latest-m1 - - steps: - - uses: actions/checkout@v4 - - - name: Install pyapp from crates.io (also builds executable) - uses: baptiste0928/cargo-install@v3 - with: - crate: pyapp - version: 0.16.0 - - - name: Test just-compiled binary - run: | - chmod +x /Users/runner/.cargo-install/pyapp/bin/pyapp - /Users/runner/.cargo-install/pyapp/bin/pyapp --help - - - name: Upload artifact - id: artifact-upload-step - uses: actions/upload-artifact@v4 - with: - name: tidal-wave_${{ github.event.release.tag_name }}_py311_macos_arm64.pyapp - path: /Users/runner/.cargo-install/pyapp/bin/pyapp - compression-level: 0 - if-no-files-found: error - retention-days: 1 - - - name: Rename just-compiled binary - run: | - mv /Users/runner/.cargo-install/pyapp/bin/pyapp ${{ github.workspace }}/tidal-wave_py311_macos_arm64.pyapp - - - name: Add artifact to release - uses: softprops/action-gh-release@v2 - with: - token: ${{ github.token }} - fail_on_unmatched_files: true - files: ${{ github.workspace }}/tidal-wave_py311_macos_arm64.pyapp diff --git a/.github/workflows/pyapp-macos_x86.yml b/.github/workflows/pyapp-macos_x86.yml deleted file mode 100644 index b619e52..0000000 --- a/.github/workflows/pyapp-macos_x86.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Pyapp Build on macOS for macOS x86_64 -on: - release: - types: ["published"] - -env: - # https://doc.rust-lang.org/cargo/reference/config.html#buildtarget - CARGO_BUILD_TARGET: "x86_64-apple-darwin" - PYAPP_DISTRIBUTION_EMBED: 1 - PYAPP_METADATA_TEMPLATE: "{project}, version {version}" - PYAPP_PROJECT_FEATURES: "all" - PYAPP_PROJECT_NAME: "tidal-wave" - PYAPP_PROJECT_VERSION: ${{ github.event.release.tag_name }} - PYAPP_PYTHON_VERSION: "3.11" - -permissions: - contents: write - -jobs: - build: - runs-on: macos-latest - - steps: - - uses: actions/checkout@v4 - - - name: Install pyapp from crates.io (also builds executable) - uses: baptiste0928/cargo-install@v3 - with: - crate: pyapp - version: 0.16.0 - - - name: Test just-compiled binary - run: | - chmod +x /Users/runner/.cargo-install/pyapp/bin/pyapp - /Users/runner/.cargo-install/pyapp/bin/pyapp --help - - - name: Upload artifact - id: artifact-upload-step - uses: actions/upload-artifact@v4 - with: - name: tidal-wave_${{ github.event.release.tag_name }}_py311_macos.pyapp - path: /Users/runner/.cargo-install/pyapp/bin/pyapp - compression-level: 0 - if-no-files-found: error - retention-days: 1 - - - name: Rename just-compiled binary - run: | - mv /Users/runner/.cargo-install/pyapp/bin/pyapp ${{ github.workspace }}/tidal-wave_py311_macos.pyapp - - - name: Add artifact to release - uses: softprops/action-gh-release@v2 - with: - token: ${{ github.token }} - fail_on_unmatched_files: true - files: ${{ github.workspace }}/tidal-wave_py311_macos.pyapp diff --git a/.github/workflows/pyapp-windows.yml b/.github/workflows/pyapp-windows.yml deleted file mode 100644 index c26a1ff..0000000 --- a/.github/workflows/pyapp-windows.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Pyapp Build on Windows for 64-bit Windows -on: - release: - types: ["published"] - -env: - PYAPP_DISTRIBUTION_EMBED: 1 - PYAPP_METADATA_TEMPLATE: "{project}, version {version}" - PYAPP_PROJECT_FEATURES: "all" - PYAPP_PROJECT_NAME: "tidal-wave" - PYAPP_PROJECT_VERSION: ${{ github.event.release.tag_name }} - PYAPP_PYTHON_VERSION: "3.11" - -permissions: - contents: write - -jobs: - build: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v4 - - - name: Install pyapp from crates.io (also builds executable) - uses: baptiste0928/cargo-install@v3 - with: - crate: pyapp - version: 0.16.0 - - - name: Test just-compiled binary - shell: pwsh - run: | - & "C:\Users\runneradmin\.cargo-install\pyapp\bin\pyapp.exe" --help - - - name: Upload artifact - id: artifact-upload-step - uses: actions/upload-artifact@v4 - with: - name: tidal-wave_${{ github.event.release.tag_name }}_py311_pyapp.exe - path: C:\Users\runneradmin\.cargo-install\pyapp\bin\pyapp.exe - compression-level: 0 - if-no-files-found: error - retention-days: 1 - - - name: Rename just-compiled EXE - shell: pwsh - run: | - Move-Item "C:\Users\runneradmin\.cargo-install\pyapp\bin\pyapp.exe" "C:\Users\runneradmin\tidal-wave_py311_pyapp.exe" - - - name: Add artifact to release - uses: softprops/action-gh-release@v2 - with: - token: ${{ github.token }} - fail_on_unmatched_files: true - files: C:\Users\runneradmin\tidal-wave_py311_pyapp.exe