Skip to content

Commit

Permalink
update gcc version
Browse files Browse the repository at this point in the history
  • Loading branch information
mglev1n committed Mar 16, 2024
1 parent 09f54e9 commit 88f47c1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,17 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install remotes
- name: Upgrade gcc to compile without error
if: runner.os == 'Linux'
run: |
sudo apt-get install -y g++-12 gcc-12 # probably already installed
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 60
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 60
- name: Install devtools
run: |
Rscript -e "install.packages('devtools')"
- name: Install hyprcoloc
run: |
Rscript -e "devtools::install_github('jrs95/hyprcoloc')"
Expand Down

0 comments on commit 88f47c1

Please sign in to comment.