- name: Some packages compile for WebAssembly
run: GOOS=js GOARCH=wasm go build . ./storage ./tracker/...
+
- name: Install godo
- run: go install github.com/anacrolix/godo@latest
+ # Need master for cross-compiling fix
+ run: go install github.com/anacrolix/godo@master
- name: Apt packages
run: sudo apt install pv fuse
- name: torrentfs end-to-end test
- run: fs/test.sh
+ # Test on 386 for atomic alignment and other bad 64-bit assumptions
+ run: GOARCH=386 fs/test.sh
timeout-minutes: 10
debian_file=debian-10.8.0-amd64-netinst.iso
pushd torrents
cp "$repopath/testdata/$debian_file.torrent" .
-godo -v -race "$repopath/cmd/torrent" metainfo "$repopath/testdata/sintel.torrent" magnet > sintel.magnet
+godo -v "$repopath/cmd/torrent" metainfo "$repopath/testdata/sintel.torrent" magnet > sintel.magnet
popd
#file="$debian_file"
file=Sintel/Sintel.mp4