Skip to content

Commit

Permalink
Fix #4119: Update the github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
esnosy committed Mar 9, 2024
1 parent 1014b87 commit 9ea1b4f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: configure
run: |
sudo apt update
sudo apt install build-essential git subversion cmake libx11-dev libxxf86vm-dev libxcursor-dev libxi-dev libxrandr-dev libxinerama-dev libegl-dev libepoxy-dev
sudo apt install libwayland-dev wayland-protocols libxkbcommon-dev libdbus-1-dev linux-libc-dev
- name: make
run: |
mkdir ~/bforartistsrepo
cd ~/bforartistsrepo
mkdir /home/runner/bforartistsrepo
cd /home/runner/bforartistsrepo
git clone https://github.com/Bforartists/Bforartists
cd ~/bforartistsrepo/Bforartists
cd Bforartists
sudo apt update
sudo apt install python3 git git-lfs
./build_files/build_environment/install_linux_packages.py
./build_files/utils/make_update.py --use-linux-libraries
make
make update
make release
ls
cd ..
ls
- name: Upload Build
uses: actions/upload-artifact@v2
with:
name: Bforartists-Release-${{ runner.os }}
path: /home/runner/bforartistsrepo/bfa_build_linux/bin/
path: /home/runner/bforartistsrepo/bfa_build_linux_release/bin/

9 changes: 3 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,19 @@ jobs:
runs-on: macos-latest

steps:
- name: configure
run:
brew install cmake svn

- name: make
run: |
brew install cmake git git-lfs svn
mkdir ~/bforartistsrepo
cd ~/bforartistsrepo
git clone https://github.com/Bforartists/Bforartists
cd ~/bforartistsrepo/Bforartists
make update
make
make release
- name: Upload Build
uses: actions/upload-artifact@v2
with:
name: Bforartists-Release-${{ runner.os }}
path: /Users/runner/bforartistsrepo/build_darwin/bin/
path: /Users/runner/bforartistsrepo/build_darwin_release/bin/

12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:

steps:
- name: make
shell: cmd
run: |
mkdir ~\bforartistsrepo
cd ~\bforartistsrepo
mkdir C:/Users/runneradmin/bforartistsrepo
cd C:/Users/runneradmin/bforartistsrepo
git clone https://github.com/Bforartists/Bforartists
dir
cd ~\bforartistsrepo\Bforartists
cd Bforartists
make update
.\make.bat ninja release
make release
dir
cd ~\bforartistsrepo
cd ..
dir
Expand Down

0 comments on commit 9ea1b4f

Please sign in to comment.