Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ on:
branches: [ master ]

jobs:
test:
windows-test:
runs-on: windows-latest
continue-on-error: true
strategy:
matrix:
ruby-version: ['2.7', '3.0']
Expand All @@ -20,10 +21,13 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake
- name: Build gem
run: bundle exec gem build salsa20.gemspec
- name: Install gem
run: bundle exec gem install --verbose ./salsa20-*.gem ; cat D:/a/salsa20-ruby/salsa20-ruby/vendor/bundle/ruby/3.0.0/extensions/x64-mingw32/3.0.0/salsa20-0.1.3/gem_make.out ; exit 1
#; exit 0
# - name: Print results
#run: cat D:/a/salsa20-ruby/salsa20-ruby/vendor/bundle/ruby/3.0.0/extensions/x64-mingw32/3.0.0/salsa20-0.1.3/gem_make.out
run: bundle exec gem install --verbose ./salsa20-*.gem
continue-on-error: true
- name: Print gem make log
run: cat D:/a/salsa20-ruby/salsa20-ruby/vendor/bundle/ruby/3.0.0/extensions/x64-mingw32/3.0.0/salsa20-0.1.3/gem_make.out
continue-on-error: true
2 changes: 1 addition & 1 deletion ext/salsa20_ext/ecrypt-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@

#ifdef _UI64_MAX

#if (_UI64_MAX / 0xFFFFFFFFui64 > 0xFFFFFFFFui64)
#ifndef I64T
#if (_UI64_MAX / 0xFFFFFFFFui64 > 0xFFFFFFFFui64)
#define I64T __int64
#define U64C(v) (v##ui64)
#endif
Expand Down