diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4fa04d6..39867dac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,3 +33,22 @@ jobs: build/janet.h build/c/janet.c build/c/shell.c + + release-windows: + name: Build release binaries for windows + runs-on: windows-latest + steps: + - name: Checkout the repository + uses: actions/checkout@master + - name: Setup MSVC + uses: ilammy/msvc-dev-cmd@v1 + - name: Build the project + shell: cmd + run: build_win all + - name: Draft the release + uses: softprops/action-gh-release@v1 + with: + draft: true + files: | + ./*.zip + ./*.msi diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index b8895246..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,51 +0,0 @@ -version: build-{build} -clone_folder: c:\projects\janet -image: -- Visual Studio 2019 -configuration: -- Release -platform: -- x64 -- x86 -environment: - matrix: - - arch: Win64 -matrix: - fast_finish: true - -# skip unsupported combinations -init: - - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform% - -install: - - set JANET_BUILD=%appveyor_repo_commit:~0,7% - - build_win all - - set janet_outname=%appveyor_repo_tag_name% - - if "%janet_outname%"=="" set /P janet_outname=