Compare commits
2 Commits
c19561cb54
...
b51ded2101
| Author | SHA1 | Date | |
|---|---|---|---|
| b51ded2101 | |||
| 09f07d99f7 |
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@@ -33,6 +33,7 @@ jobs:
|
||||
cd ..
|
||||
cd install
|
||||
echo "GTest_ROOT=$(pwd)" >> "$GITHUB_ENV"
|
||||
cd ..
|
||||
cd ../..
|
||||
- name: Fetch Google Benchmark
|
||||
uses: actions/checkout@v4
|
||||
@@ -55,6 +56,7 @@ jobs:
|
||||
cd ..
|
||||
cd install
|
||||
echo "benchmark_ROOT=$(pwd)" >> "$GITHUB_ENV"
|
||||
cd ..
|
||||
cd ../..
|
||||
- name: Build YYCC
|
||||
shell: bash
|
||||
|
||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
cd ..
|
||||
cd install
|
||||
echo "GTest_ROOT=$(pwd)" >> "$GITHUB_ENV"
|
||||
cd ..
|
||||
cd ../..
|
||||
- name: Fetch Google Benchmark
|
||||
uses: actions/checkout@v4
|
||||
@@ -50,6 +51,7 @@ jobs:
|
||||
cd ..
|
||||
cd install
|
||||
echo "benchmark_ROOT=$(pwd)" >> "$GITHUB_ENV"
|
||||
cd ..
|
||||
cd ../..
|
||||
- name: Build YYCC
|
||||
shell: bash
|
||||
|
||||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@@ -38,6 +38,7 @@ jobs:
|
||||
:: Idk why I can't use $GITHUB_ENV, so I use this stupid way to do this.
|
||||
:: This is first entry so we override it.
|
||||
echo set GTest_ROOT=%CD% > ../../envs.bat
|
||||
cd ..
|
||||
cd ../..
|
||||
- name: Fetch Google Benchmark
|
||||
uses: actions/checkout@v4
|
||||
@@ -62,6 +63,7 @@ jobs:
|
||||
cd install
|
||||
:: This is second entry so we append it.
|
||||
echo set benchmark_ROOT=%CD% >> ../../envs.bat
|
||||
cd ..
|
||||
cd ../..
|
||||
- name: Build YYCC
|
||||
shell: cmd
|
||||
|
||||
@@ -72,10 +72,10 @@ namespace yycctest::carton::clap {
|
||||
|
||||
// Add options
|
||||
auto options = CLAP::option::OptionCollection();
|
||||
int_option = options.add_option(CLAP::option::Option(u8"i", u8"int", u8"<integer>", u8"integral argument"));
|
||||
float_option = options.add_option(CLAP::option::Option(u8"f", std::nullopt, u8"<float>", u8""));
|
||||
string_option = options.add_option(CLAP::option::Option(std::nullopt, u8"string", u8"<string>", u8""));
|
||||
clamped_float_option = options.add_option(CLAP::option::Option(std::nullopt, u8"clamped-float", u8"<float>", u8""));
|
||||
int_option = options.add_option(CLAP::option::Option(u8"i", u8"int", u8"integer", u8"integral argument"));
|
||||
float_option = options.add_option(CLAP::option::Option(u8"f", std::nullopt, u8"float", u8""));
|
||||
string_option = options.add_option(CLAP::option::Option(std::nullopt, u8"string", u8"string", u8""));
|
||||
clamped_float_option = options.add_option(CLAP::option::Option(std::nullopt, u8"clamped-float", u8"float", u8""));
|
||||
novalue_option = options.add_option(CLAP::option::Option(u8"b", std::nullopt, std::nullopt, u8""));
|
||||
|
||||
// Add variables
|
||||
|
||||
Reference in New Issue
Block a user