CI improvements
This commit is contained in:
parent
0e052cce06
commit
283f06f265
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -16,7 +16,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: System information
|
||||
run: uname -a
|
||||
run: |
|
||||
uname -a
|
||||
lsb_release -a
|
||||
clang -v
|
||||
- name: Build and test
|
||||
run: |
|
||||
./project.sh test all
|
||||
@ -26,13 +29,14 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: System information
|
||||
run: uname -a
|
||||
- name: MacOS version
|
||||
run: sw_vers -productVersion
|
||||
- name: Install LLVM
|
||||
run: |
|
||||
brew install llvm
|
||||
- name: System information
|
||||
run: |
|
||||
uname -a
|
||||
sw_vers -productVersion
|
||||
clang -v
|
||||
- name: Build and test
|
||||
run: |
|
||||
./project.sh test all
|
||||
@ -42,6 +46,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: System information
|
||||
run: |
|
||||
systeminfo
|
||||
clang -v
|
||||
- name: Build and test
|
||||
run: |
|
||||
./project.bat test all
|
||||
|
@ -2290,7 +2290,7 @@ fn uint32_t pow5_factor(uint64_t value)
|
||||
}
|
||||
|
||||
// Returns true if value is divisible by 5^p.
|
||||
fn bool multiple_of_power_of_5(const uint64_t value, const uint32_t p)
|
||||
fn u8 multiple_of_power_of_5(const uint64_t value, const uint32_t p)
|
||||
{
|
||||
// I tried a case distinction on p, but there was no performance difference.
|
||||
return pow5_factor(value) >= p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user