forked from dmikushin/tray
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update global workflows (#14)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
- Loading branch information
1 parent
cb33552
commit 0f30a63
Showing
10 changed files
with
148 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# install dependencies for C++ analysis | ||
set -e | ||
|
||
sudo apt-get update -y | ||
|
||
# allow newer gcc | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | ||
|
||
sudo apt-get install -y \ | ||
build-essential \ | ||
cmake \ | ||
libayatana-appindicator3-dev \ | ||
libglib2.0-dev \ | ||
libnotify-dev \ | ||
ninja-build | ||
|
||
# clean apt cache | ||
sudo apt-get clean | ||
sudo rm -rf /var/lib/apt/lists/* | ||
|
||
# build | ||
mkdir -p build | ||
cd build || exit 1 | ||
cmake -G Ninja .. | ||
ninja | ||
|
||
# skip autobuild | ||
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# install dependencies for C++ analysis | ||
set -e | ||
|
||
# update pacman | ||
pacman --noconfirm -Suy | ||
|
||
# install dependencies | ||
pacman --noconfirm -S \ | ||
mingw-w64-ucrt-x86_64-binutils \ | ||
mingw-w64-ucrt-x86_64-cmake \ | ||
mingw-w64-ucrt-x86_64-ninja \ | ||
mingw-w64-ucrt-x86_64-toolchain | ||
|
||
# build | ||
mkdir -p build | ||
cd build || exit 1 | ||
cmake -G Ninja .. | ||
ninja | ||
|
||
# skip autobuild | ||
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# install dependencies for C++ analysis | ||
set -e | ||
|
||
# install dependencies | ||
brew install \ | ||
cmake \ | ||
ninja | ||
|
||
# build | ||
mkdir -p build | ||
cd build || exit 1 | ||
cmake -G Ninja .. | ||
ninja | ||
|
||
# skip autobuild | ||
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.