-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from psiha/feature/flushing,resizeing_for_win32
Feature/flushing,resizeing for win32
- Loading branch information
Showing
22 changed files
with
312 additions
and
198 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 |
---|---|---|
|
@@ -24,12 +24,12 @@ jobs: | |
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
build_type: [Release] | ||
c_compiler: [clang, clang-cl] | ||
build_type: [Debug, Release] | ||
c_compiler: [clang, msvc] | ||
include: | ||
- os: windows-latest | ||
c_compiler: clang-cl | ||
cpp_compiler: clang-cl | ||
c_compiler: msvc | ||
cpp_compiler: msvc | ||
- os: ubuntu-latest | ||
c_compiler: clang | ||
cpp_compiler: clang++ | ||
|
@@ -39,10 +39,14 @@ jobs: | |
exclude: | ||
- os: windows-latest | ||
c_compiler: clang | ||
- os: windows-latest | ||
build_type: Debug | ||
- os: ubuntu-latest | ||
c_compiler: clang-cl | ||
c_compiler: msvc | ||
- os: macos-latest | ||
c_compiler: msvc | ||
- os: macos-latest | ||
c_compiler: clang-cl | ||
build_type: Debug | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -53,26 +57,25 @@ jobs: | |
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Install LLVM and Clang on Ubuntu | ||
- name: Setup latest Xcode on MacOS | ||
if: matrix.os == 'macos-latest' | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest | ||
- name: Install LLVM and Clang on Linux | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
wget https://apt.llvm.org/llvm.sh | ||
chmod u+x llvm.sh | ||
sudo ./llvm.sh 17 all | ||
echo "PATH=/usr/lib/llvm-17/bin:$PATH" >> $GITHUB_ENV | ||
echo "LLVM_PATH=/usr/lib/llvm-17" >> $GITHUB_ENV | ||
echo "LD_LIBRARY_PATH=/usr/lib/llvm-17/lib" >> $GITHUB_ENV | ||
echo "DYLD_LIBRARY_PATH=/usr/lib/llvm-17/lib" >> $GITHUB_ENV | ||
echo "CC=/usr/lib/llvm-17/bin/clang" >> $GITHUB_ENV | ||
echo "CXX=/usr/lib/llvm-17/bin/clang++" >> $GITHUB_ENV | ||
sudo ./llvm.sh 18 all | ||
echo "PATH=/usr/lib/llvm-18/bin:$PATH" >> $GITHUB_ENV | ||
echo "LLVM_PATH=/usr/lib/llvm-18" >> $GITHUB_ENV | ||
echo "LD_LIBRARY_PATH=/usr/lib/llvm-18/lib" >> $GITHUB_ENV | ||
echo "DYLD_LIBRARY_PATH=/usr/lib/llvm-18/lib" >> $GITHUB_ENV | ||
echo "CC=/usr/lib/llvm-18/bin/clang" >> $GITHUB_ENV | ||
echo "CXX=/usr/lib/llvm-18/bin/clang++" >> $GITHUB_ENV | ||
shell: sh | ||
|
||
- name: Install LLVM and Clang on MacOS | ||
if: matrix.os == 'macos-latest' | ||
uses: KyleMayes/[email protected] | ||
with: | ||
version: "15.0.7" | ||
|
||
- name: Set reusable strings | ||
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. | ||
id: strings | ||
|
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
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
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
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
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
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
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
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
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.