mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
ci: Update Github Actions workflows (#9774)
This commit is contained in:
parent
e0ea87f1f3
commit
61d93988d8
6 changed files with 38 additions and 39 deletions
|
@ -1,21 +1,5 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
set_linux_compiler_env() {
|
||||
if [[ "${COMPILER}" == "gcc-6" ]]; then
|
||||
export CC=gcc-6
|
||||
export CXX=g++-6
|
||||
elif [[ "${COMPILER}" == "gcc-8" ]]; then
|
||||
export CC=gcc-8
|
||||
export CXX=g++-8
|
||||
elif [[ "${COMPILER}" == "clang-3.9" ]]; then
|
||||
export CC=clang-3.9
|
||||
export CXX=clang++-3.9
|
||||
elif [[ "${COMPILER}" == "clang-9" ]]; then
|
||||
export CC=clang-9
|
||||
export CXX=clang++-9
|
||||
fi
|
||||
}
|
||||
|
||||
# Linux build only
|
||||
install_linux_deps() {
|
||||
local pkgs=(libirrlicht-dev cmake libbz2-dev libpng-dev \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue