From 9372f27a25d0718d3527afad6cc936f6a853f86e Mon Sep 17 00:00:00 2001 From: andri lim Date: Mon, 22 May 2023 17:03:57 +0700 Subject: [PATCH] remove appveyor/travis scripts and fix ci (#47) --- .appveyor.yml | 41 ---------------------------------------- .github/workflows/ci.yml | 6 +++--- .travis.yml | 31 ------------------------------ README.md | 2 -- nimble.lock | 15 --------------- 5 files changed, 3 insertions(+), 92 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .travis.yml delete mode 100644 nimble.lock diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 6327825..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -version: '{build}' - -image: Visual Studio 2015 - -cache: - - NimBinaries - -matrix: - # We always want 32 and 64-bit compilation - fast_finish: false - -platform: - - x86 - - x64 - -# when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X" -clone_depth: 10 - -install: - - git submodule update --init --recursive - - # use the newest versions documented here: https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin - - IF "%PLATFORM%" == "x86" SET PATH=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin;%PATH% - - IF "%PLATFORM%" == "x64" SET PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH% - - # build nim from our own branch - this to avoid the day-to-day churn and - # regressions of the fast-paced Nim development while maintaining the - # flexibility to apply patches - - curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh - - env MAKE="mingw32-make -j2" ARCH_OVERRIDE=%PLATFORM% bash build_nim.sh Nim csources dist/nimble NimBinaries - - SET PATH=%CD%\Nim\bin;%PATH% - -build_script: - - cd C:\projects\%APPVEYOR_PROJECT_SLUG% - - nimble install -y - -test_script: - - nimble test - -deploy: off - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb789f8..44c1d67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: include: - target: os: linux - builder: ubuntu-18.04 + builder: ubuntu-20.04 shell: bash - target: os: macos @@ -38,7 +38,7 @@ jobs: shell: bash - target: os: windows - builder: windows-2019 + builder: windows-latest shell: msys2 {0} defaults: @@ -98,7 +98,7 @@ jobs: - name: Restore Nim DLLs dependencies (Windows) from cache if: runner.os == 'Windows' id: windows-dlls-cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: external/dlls-${{ matrix.target.cpu }} key: 'dlls-${{ matrix.target.cpu }}' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8dd8d07..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -language: c - -# https://docs.travis-ci.com/user/caching/ -cache: - directories: - - NimBinaries - -git: - # when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X" - depth: 10 - -matrix: - include: - - os: linux - arch: amd64 - # - os: linux - # arch: arm64 - # sudo: required - - os: osx - -install: - # build nim from our own branch - this to avoid the day-to-day churn and - # regressions of the fast-paced Nim development while maintaining the - # flexibility to apply patches - - curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh - - env MAKE="make -j2" bash build_nim.sh Nim csources dist/nimble NimBinaries - - export PATH=$PWD/Nim/bin:$PATH - -script: - - nimble install -y - - nimble test diff --git a/README.md b/README.md index 7823f3d..111f597 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # bearssl -[![Build Status (Travis)](https://img.shields.io/travis/status-im/nim-bearssl/master.svg?label=Linux%20/%20macOS "Linux/macOS build status (Travis)")](https://travis-ci.org/status-im/nim-bearssl) -[![Windows build status (Appveyor)](https://img.shields.io/appveyor/ci/nimbus/nim-bearssl/master.svg?label=Windows "Windows build status (Appveyor)")](https://ci.appveyor.com/project/nimbus/nim-bearssl) ![Stability: experimental](https://img.shields.io/badge/stability-experimental-orange.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) diff --git a/nimble.lock b/nimble.lock deleted file mode 100644 index acd10ee..0000000 --- a/nimble.lock +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": 1, - "packages": { - "unittest2": { - "version": "0.0.3", - "vcsRevision": "4e2893eacb916c7678fdc4935ff7420f13bf3a9c", - "url": "https://github.com/status-im/nim-unittest2", - "downloadMethod": "git", - "dependencies": [], - "checksums": { - "sha1": "1462a58ec0de38d431e728578c82edcc47619476" - } - } - } -} \ No newline at end of file