summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherle2022-08-16 21:06:51 +0200
committerSimon Rettberg2024-05-13 18:26:13 +0200
commite9b9e223396da9a5cabdaedb20674af3596dbbe8 (patch)
tree38e1854f31f343fbec354899cbfcb73513c96aec
parent[COWTEST] random test now cancels on ctrl-c (diff)
downloaddnbd3-e9b9e223396da9a5cabdaedb20674af3596dbbe8.tar.gz
dnbd3-e9b9e223396da9a5cabdaedb20674af3596dbbe8.tar.xz
dnbd3-e9b9e223396da9a5cabdaedb20674af3596dbbe8.zip
github: changed test to use net 6
-rw-r--r--.github/workflows/test-cow-fuse.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/test-cow-fuse.yml b/.github/workflows/test-cow-fuse.yml
index 27d7558..54b71fa 100644
--- a/.github/workflows/test-cow-fuse.yml
+++ b/.github/workflows/test-cow-fuse.yml
@@ -8,7 +8,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
- dotnet-version: '5.x.x'
+ dotnet-version: '6.x.x'
- name: Install dnbd3 dependencies
working-directory: ${{ github.workspace }}
@@ -46,7 +46,7 @@ jobs:
run: git clone --depth 1 --branch "master" "https://github.com/z0Kng/cow_merger_service.git" "../cow_server"
- name: Build cow_merger_service
working-directory: ${{ github.workspace }}/../cow_server/cow_merger_service
- run: dotnet publish -c Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishReadyToRunShowWarnings=true --self-contained true --runtime linux-x64
+ run: dotnet publish -c Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=True -p:PublishReadyToRunShowWarnings=true --self-contained true --runtime linux-x64
- name: Setup cow_merger_service
working-directory: ${{ github.workspace }}/../cow_server/
run: |
@@ -58,6 +58,9 @@ jobs:
sed -i 's/^ "DestinationDirectory":.*/ "DestinationDirectory": "\/home\/runner\/work\/Output",/g' cow_merger_service/publish/appsettings.json
while read line; do echo $line; done < cow_merger_service/publish/appsettings.json
cd cow_merger_service/publish/
+ FILENAME=cow_merger_service
+ FILESIZE=$(stat -c%s "$FILENAME")
+ echo "Size of $FILENAME = $FILESIZE bytes."
./cow_merger_service 2>&1 > log.out &
- name: Generate test file
working-directory: ${{ github.workspace }}/build/src/cowtest