mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-17 03:40:23 +08:00
chore(ci): make lint happy
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -13,10 +13,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Build tools
|
- name: Setup Build Tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gcc
|
sudo apt-get install -y gcc
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
-include cosmopolitan.h crt.o ape.o cosmopolitan.a
|
-include cosmopolitan.h crt.o ape.o cosmopolitan.a
|
||||||
objcopy -S -O binary base16384.com.dbg base16384.com
|
objcopy -S -O binary base16384.com.dbg base16384.com
|
||||||
|
|
||||||
- name: Upload binaries to release
|
- name: Upload Binaries to Release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -7,10 +7,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Build tools
|
- name: Setup Build Tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gcc cmake
|
sudo apt-get install -y gcc cmake
|
||||||
@@ -21,4 +21,4 @@ jobs:
|
|||||||
cd build
|
cd build
|
||||||
cmake -DBUILD=test ..
|
cmake -DBUILD=test ..
|
||||||
make
|
make
|
||||||
make test
|
make test || make test --rerun-failed --output-on-failure
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ char tstbuf[BASE16384_ENCBUFSZ];
|
|||||||
} \
|
} \
|
||||||
} fclose(fp); \
|
} fclose(fp); \
|
||||||
if (sum_input != sum_validate) { \
|
if (sum_input != sum_validate) { \
|
||||||
fprintf(stderr, "loop @%d, expect: %016llx, got: %016llx: ", i, sum_input, sum_validate); \
|
fprintf(stderr, "loop @%d, expect: %016llx, got: %016llx: ", i, (unsigned long long)sum_input, (unsigned long long)sum_validate); \
|
||||||
fputs(TEST_INPUT_FILENAME " and " TEST_VALIDATE_FILENAME " mismatch.", stderr); \
|
fputs(TEST_INPUT_FILENAME " and " TEST_VALIDATE_FILENAME " mismatch.", stderr); \
|
||||||
return 1; \
|
return 1; \
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user