Skip to content

Commit

Permalink
Update check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chfwd authored Jan 17, 2023
1 parent d8d0f5c commit c8a9af8
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Check

on:
push:
branches: [ main ]
workflow_dispatch: {}

jobs:
phoenixbuilder-check:
runs-on: windows-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -16,13 +14,23 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Install compilers
run: |
sudo apt update
sudo apt install gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 gcc gcc-aarch64-linux-gnu libgl1-mesa-dev xorg-dev -y
- name: Build PhoenixBuilder
run: make current
run: |
make current
make clean
chmod 0644 ~/go/pkg/mod/github.com/sandertv/go-raknet@v1.9.1/conn.go
sed "s/urrentProtocol byte = 10/urrentProtocol byte = 8/g" ~/go/pkg/mod/github.com/sandertv/go-raknet@v1.9.1/conn.go>~/conn.go
cp -f ~/conn.go ~/go/pkg/mod/github.com/sandertv/go-raknet@v1.9.1/conn.go
make windows-executable-x86_64
- name: upload
uses: actions/upload-artifact@v3.1.0
with:
name: PhoenixBuilder
path: ${{ GITHUB.WORKSPACE }}\build
path: ${{ GITHUB.WORKSPACE }}/build
#gui-check:
# runs-on: ubuntu-latest
# steps:
Expand Down

0 comments on commit c8a9af8

Please sign in to comment.