Skip to content

Commit fce1281

Browse files
committed
Modernize CI configuration
- Remove mentions of Travis CI; - Upgrade all actions to their latest release (and location); - Upgrade host OS to use latest tag; - Only test the latest (and master) dmd and ldc;
1 parent 8bc62db commit fce1281

File tree

3 files changed

+8
-59
lines changed

3 files changed

+8
-59
lines changed

.github/workflows/main.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,23 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
13-
# DMD < 2.087.1 does not work on Mac OSX Catalina (10.15) because druntime used
14-
# a private symbol, hence this is the minimum required version
15-
# However, while compiling with DMD 2.087.1 works on Catalina,
16-
# the distributed binary was not built with it until 2.090.0
17-
dc: [ dmd-master, ldc-master, dmd-latest, ldc-latest, dmd-2.090.0, ldc-1.17.0 ]
12+
os: [ ubuntu-latest, macOS-latest, windows-latest ]
13+
dc: [ dmd-master, ldc-master, dmd-latest, ldc-latest ]
1814
exclude:
1915
# https://github.com/dlang/dub/issues/1914
2016
# https://github.com/dlang/dub/issues/1915
21-
- { os: windows-2019, dc: dmd-master }
22-
- { os: windows-2019, dc: dmd-latest }
23-
- { os: windows-2019, dc: dmd-2.090.0 }
17+
- { os: windows-latest, dc: dmd-master }
18+
- { os: windows-latest, dc: dmd-latest }
2419

2520
runs-on: ${{ matrix.os }}
2621
timeout-minutes: 30
2722
steps:
2823

2924
# Checkout this repository
30-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
3126
# Install the D compiler
3227
- name: Prepare compiler
33-
uses: mihails-strasuns/setup-dlang@v1
28+
uses: dlang-community/setup-dlang@v1
3429
with:
3530
compiler: ${{ matrix.dc }}
3631

@@ -49,7 +44,7 @@ jobs:
4944
- name: '[Windows] Load libsodium from cache'
5045
id: cache-libsodium
5146
if: runner.os == 'Windows'
52-
uses: actions/cache@v1
47+
uses: actions/cache@v4
5348
with:
5449
path: ${{ github.workspace }}\lib\libsodium\x64\Release\v142\static\
5550
key: libsodium-1.0.18
@@ -87,6 +82,6 @@ jobs:
8782
if %errorlevel% neq 0 exit /b %errorlevel%
8883
8984
- name: 'Upload code coverage'
90-
uses: codecov/codecov-action@v1
85+
uses: codecov/codecov-action@v4
9186
with:
9287
flags: unittests

.travis.yml

-45
This file was deleted.

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
## Libsodiumd: D bindings for libsodium
22

3-
[![Build Status](https://travis-ci.com/geod24/libsodiumd.svg?branch=upstream-1.0.17)](https://travis-ci.com/geod24/libsodiumd)
43
[![DUB Package](https://img.shields.io/dub/v/libsodiumd.svg)](https://code.dlang.org/packages/libsodiumd)
54

65
Currently supported version: v1.0.18 (released 2019-05-31)

0 commit comments

Comments
 (0)