Skip to content

Commit

Permalink
chore: Update CI configuration and dependencies v11
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarorichard committed Jul 6, 2024
1 parent d76c40f commit 99b0179
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential libncurses5-dev libncursesw5-dev cmake curl
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $GITHUB_ENV
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.bashrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.zshrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
- name: Setup Homebrew
run: echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile && source ~/.profile

- name: Verify Homebrew installation
run: brew --version
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew --version
- name: Install xmake and mold via Homebrew
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install xmake
brew install mold
Expand All @@ -43,9 +46,13 @@ jobs:
cd ..
- name: Configure xmake with mold linker
run: xmake f --toolchain=dwtc --plat=linux --arch=x86_64
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
xmake f --toolchain=dwtc --plat=linux --arch=x86_64
- name: Build project
run: xmake build
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
xmake build

0 comments on commit 99b0179

Please sign in to comment.