uses: actions/upload-artifact@v4
with:
name: linux-aarch64-binary
- path: install/bin/ccache
+ path: install/ccache
retention-days: 3
build_linux_x86_64_binary:
uses: actions/upload-artifact@v4
with:
name: linux-x86_64-binary
- path: install/bin/ccache
+ path: install/ccache
retention-days: 3
build_darwin_binary:
uses: actions/upload-artifact@v4
with:
name: darwin-binary
- path: install/bin/ccache
+ path: install/ccache
retention-days: 3
build_windows_binary:
uses: actions/upload-artifact@v4
with:
name: windows-${{ matrix.arch }}-binary
- path: install/bin/ccache.exe
+ path: install/ccache.exe
retention-days: 3
windows_tests:
DESTDIR=$(pwd)/../install cmake --install . --strip
cd ..
+find install -name 'ccache*' -type f -exec mv '{}' install ';'
find install -ls
FILES="${FILES} build_$i/ccache"
done
-mkdir -p install/bin
-lipo -create $FILES -output install/bin/ccache
-lipo -info install/bin/ccache
+mkdir -p install
+lipo -create $FILES -output install/ccache
+lipo -info install/ccache
find install -ls
chmod +x "${name}/ccache"
cp misc/Makefile.posix-binary-release "${name}/Makefile"
cp GPL-3.0.txt README.md "${name}"
- cp docs/install/share/doc/ccache/* "${name}"
- cp docs/install/share/man/man1/ccache.1 "${name}"
+ cp docs/install/usr/local/share/doc/ccache/* "${name}"
+ cp docs/install/usr/local/share/man/man1/ccache.1 "${name}"
tar -caf "release/${name}.tar.${compression}" "${name}"
}
local name="ccache-${VERSION}-${arch}"
mkdir "${name}"
cp "${arch}-binary/ccache.exe" "${name}"
- cp docs/install/share/doc/ccache/* "${name}"
+ cp "docs/install/usr/local/share/doc/ccache"/* "${name}"
zip -r "release/${name}.zip" "${name}"
}