diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 38a34c0..fa19e82 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -40,11 +40,13 @@ jobs: with: go-version: ${{ matrix.go }} cache: true + - name: vet + run: go vet ./... - name: Download Linux kernel run: make download_kernel - name: Unit Test run: make test - - name: Build - run: cd example/linux && make - - name: vet - run: go vet ./... + - name: Build Linux + run: make -C example/linux + - name: Build GUI Linux + run: make -C example/gui-linux diff --git a/example/gui-linux/rosseta_directory_share.go b/example/gui-linux/rosseta_directory_share.go index 606bff6..17f0374 100644 --- a/example/gui-linux/rosseta_directory_share.go +++ b/example/gui-linux/rosseta_directory_share.go @@ -1,5 +1,5 @@ -//go:build !darwin && !arm64 -// +build !darwin,!arm64 +//go:build darwin && !arm64 +// +build darwin,!arm64 package main