Skip to content

Commit

Permalink
try to build for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Jan 2, 2025
1 parent 8fcc413 commit b75e64b
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,40 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Retr0Mine_msvc_64
path: build/Retr0Mine_msvc_64.zip
path: build/Retr0Mine_msvc_64.zip

linux-build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.6.2'
host: 'linux'
add-tools-to-path: true

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libgl1-mesa-dev
- name: Build with qmake
run: |
mkdir build
cd build
qmake ../Retr0Mine.pro CONFIG+=release
make -j$(nproc)
- name: Zip binaries folder
run: |
zip build/Retr0Mine_linux_64.zip build/Retr0Mine
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Retr0Mine_linux_64
path: Retr0Mine_linux_64.zip

0 comments on commit b75e64b

Please sign in to comment.