Skip to content

Commit

Permalink
Linux only test
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Sep 21, 2024
1 parent 93e0142 commit d79a3ae
Showing 1 changed file with 62 additions and 62 deletions.
124 changes: 62 additions & 62 deletions .github/workflows/run_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,74 +3,74 @@ name: Create Package
on: [push, workflow_dispatch]

jobs:
build-macos:
name: MacOS Univeral
runs-on: macos-latest
steps:

- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install dependencies
working-directory: ${{github.workspace}}
run: brew install dfu-util

- name: Run Packaging Script
working-directory: ${{github.workspace}}
run:
CLEAR_INTL=1 ./build.sh

- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: Heavy-MacOS-Universal
path: ${{github.workspace}}/Heavy

- name: Release Artifacts
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
draft: true
files: Heavy-MacOS-Universal

build-windows:
name: Windows
runs-on: windows-2022
steps:
- name: Install Packages
run: choco install make -y

- uses: actions/checkout@v3
with:
submodules: recursive

- name: Run Packaging Script
working-directory: ${{github.workspace}}
run:
./build.bat

- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: Heavy-Win64
path: ${{github.workspace}}/Heavy

- name: Release Artifacts
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
draft: true
files: Heavy-Win64
# build-macos:
# name: MacOS Univeral
# runs-on: macos-latest
# steps:

# - uses: actions/checkout@v3
# with:
# submodules: recursive

# - name: Install dependencies
# working-directory: ${{github.workspace}}
# run: brew install dfu-util

# - name: Run Packaging Script
# working-directory: ${{github.workspace}}
# run:
# CLEAR_INTL=1 ./build.sh

# - name: Archive Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: Heavy-MacOS-Universal
# path: ${{github.workspace}}/Heavy

# - name: Release Artifacts
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# prerelease: true
# draft: true
# files: Heavy-MacOS-Universal

# build-windows:
# name: Windows
# runs-on: windows-2022
# steps:
# - name: Install Packages
# run: choco install make -y

# - uses: actions/checkout@v3
# with:
# submodules: recursive

# - name: Run Packaging Script
# working-directory: ${{github.workspace}}
# run:
# ./build.bat

# - name: Archive Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: Heavy-Win64
# path: ${{github.workspace}}/Heavy

# - name: Release Artifacts
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# prerelease: true
# draft: true
# files: Heavy-Win64

build-linux:
name: Linux-x64
runs-on: ubuntu-20.04
steps:
- name: Install Dependencies (apt)
run: sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt update && sudo apt install -y git binutils python3.11-full curl tar gzip xz-utils make patchelf libusb-dev build-essential rsync wget dfu-util
run: sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt update && sudo apt install -y git binutils python3.11-full curl tar gzip xz-utils make patchelf libusb-dev build-essential rsync wget dfu-util python3-testresources
#deps for build-anywhere: csh gawk autoconf automake autotools-dev wget m4 flex bison texinfo unzip help2man meson gperf lzip libtool-bin patch ninja-build libstdc++6 libncurses5-dev
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit d79a3ae

Please sign in to comment.